push @{$status{'Failed'}}, $1;
} elsif (/^Error: The specified controller does not have any physical drives on it.$/) {
$nodrives = 1;
- } elsif (/^ *physicaldrive (\S+) .* (OK|Predictive Failure|Failed|Rebuilding)(?:, spare)?\)$/) {
+ } elsif (/^ *physicaldrive (\S+) .* (OK|Predictive Failure|Failed|Rebuilding)(?:, (?:active )?spare)?\)$/) {
my $drive = $1;
my $status = $2;
push @{$status{$status}}, $drive;
* No longer check nrpe config in postinst - puppet fixes it for us anyway.
* 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.
- -- Peter Palfrader <weasel@debian.org> Sat, 18 Apr 2009 01:26:37 +0200
+ -- Peter Palfrader <weasel@debian.org> Sat, 18 Apr 2009 01:31:05 +0200
dsa-nagios-checks (69) unstable; urgency=low