summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-01-08 08:10:23 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2008-01-08 08:10:23 +0000
commit2bcc9eca6f6c925bacc206e0a68cadc482553030 (patch)
tree034594a7cc33371b5001c1e756ba6c6401b22a4a
parent4eefa9445018acebd0a9c87a39ead3296be57fcf (diff)
status VERIFYING is ok
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@313 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xnagios-check-raid-3ware3
1 files changed, 2 insertions, 1 deletions
diff --git a/nagios-check-raid-3ware b/nagios-check-raid-3ware
index 45554b9..4fad01b 100755
--- a/nagios-check-raid-3ware
+++ b/nagios-check-raid-3ware
@@ -86,7 +86,8 @@ for my $line (@tw) {
print "Cannot parse line '$line'\n";
exit $UNKNOWN;
};
- if ($status eq 'OK') {
+ if ($status eq 'OK' ||
+ $status eq 'VERIFYING') {
$msg .= ($msg eq '' ? '' : '; '). "$device: $status";
$exit = $exit > $OK ? $exit : $OK;
} elsif ($status eq 'DEGRADED') {