packages: nagios-plugin-check_raid/check_raid - mark OPTIMAL as OK for mpt
glen
glen at pld-linux.org
Thu Sep 10 22:43:30 CEST 2009
Author: glen Date: Thu Sep 10 20:43:30 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- mark OPTIMAL as OK for mpt
---- Files affected:
packages/nagios-plugin-check_raid:
check_raid (1.36 -> 1.37)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_raid/check_raid
diff -u packages/nagios-plugin-check_raid/check_raid:1.36 packages/nagios-plugin-check_raid/check_raid:1.37
--- packages/nagios-plugin-check_raid/check_raid:1.36 Thu Sep 10 22:22:27 2009
+++ packages/nagios-plugin-check_raid/check_raid Thu Sep 10 22:43:25 2009
@@ -309,7 +309,7 @@
$status = $ERRORS{WARNING};
} elsif ($stat =~ /DEGRADED/) {
$status = $ERRORS{CRITICAL};
- } elsif (!$status and $stat !~ /ONLINE/) {
+ } elsif (!$status and $stat !~ /ONLINE|OPTIMAL/) {
$status = $ERRORS{UNKNOWN};
}
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_raid/check_raid?r1=1.36&r2=1.37&f=u
More information about the pld-cvs-commit
mailing list