packages: nagios-plugin-check_raid/check_raid 3ware: disk not present shoul...

glen glen at pld-linux.org
Thu May 24 10:19:23 CEST 2012


Author: glen                         Date: Thu May 24 08:19:23 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
3ware: disk not present should not be CRITICAL

---- Files affected:
packages/nagios-plugin-check_raid:
   check_raid (1.120 -> 1.121) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_raid/check_raid
diff -u packages/nagios-plugin-check_raid/check_raid:1.120 packages/nagios-plugin-check_raid/check_raid:1.121
--- packages/nagios-plugin-check_raid/check_raid:1.120	Thu May 24 10:17:29 2012
+++ packages/nagios-plugin-check_raid/check_raid	Thu May 24 10:19:18 2012
@@ -784,7 +784,7 @@
 			next unless (my($p, $s,) = /^(p\d+)\s+(\S+)\s+.+\s+.+\s+.+/);
 			push(@ds, "$p:$s");
 			foreach (@ds) {
-				$status = $ERRORS{CRITICAL} unless (/p\d+:OK/);
+				$status = $ERRORS{CRITICAL} unless (/p\d+:(OK|NOT-PRESENT)/);
 			}
 		}
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/nagios-plugin-check_raid/check_raid?r1=1.120&r2=1.121



More information about the pld-cvs-commit mailing list