From: Peter Palfrader Date: Fri, 17 Apr 2009 23:42:00 +0000 (+0200) Subject: dsa-check-hpacucli: And SAS can be E too X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e3cfeb337e78da4392097b8334cb3bd7f49a4aa0;p=mirror%2Fdsa-nagios.git dsa-check-hpacucli: And SAS can be E too --- diff --git a/dsa-nagios-checks/checks/dsa-check-hpacucli b/dsa-nagios-checks/checks/dsa-check-hpacucli index db5f013..06c6fad 100755 --- a/dsa-nagios-checks/checks/dsa-check-hpacucli +++ b/dsa-nagios-checks/checks/dsa-check-hpacucli @@ -124,7 +124,7 @@ for my $slot (sort @controllers) { my $type; if ($drive =~ /^[0-9]+:[0-9]+$/) { # scsi drives $type = 'SCSI'; - } elsif ($drive =~ /^[0-9]+I:[0-9]+:[0-9]+$/) { # SAS + } elsif ($drive =~ /^[0-9]+[EI]:[0-9]+:[0-9]+$/) { # SAS $type = 'SAS'; } else { # I'm not going to run pass arguments of unknown form to the shell.. diff --git a/dsa-nagios-checks/debian/changelog b/dsa-nagios-checks/debian/changelog index 72be4cb..39e71c3 100644 --- a/dsa-nagios-checks/debian/changelog +++ b/dsa-nagios-checks/debian/changelog @@ -4,8 +4,9 @@ dsa-nagios-checks (70) XXstable; urgency=low * Only run weak keys check if there is no prior weak key status. * dsa-check-hpacucli: Slots need not be all numeric. * dsa-check-hpacucli: Spares can be active. + * dsa-check-hpacucli: And SAS can be E too. - -- Peter Palfrader Sat, 18 Apr 2009 01:31:05 +0200 + -- Peter Palfrader Sat, 18 Apr 2009 01:41:32 +0200 dsa-nagios-checks (69) unstable; urgency=low