packages: nagios-plugin-check_raid/check_raid - check_arcconf: do not let b...

glen glen at pld-linux.org
Tue Nov 24 10:35:48 CET 2009


Author: glen                         Date: Tue Nov 24 09:35:48 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- check_arcconf: do not let battery state=Charging, capacity 100% fire a warning, compare only capacity

---- Files affected:
packages/nagios-plugin-check_raid:
   check_raid (1.64 -> 1.65) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_raid/check_raid
diff -u packages/nagios-plugin-check_raid/check_raid:1.64 packages/nagios-plugin-check_raid/check_raid:1.65
--- packages/nagios-plugin-check_raid/check_raid:1.64	Tue Nov  3 10:18:43 2009
+++ packages/nagios-plugin-check_raid/check_raid	Tue Nov 24 10:35:43 2009
@@ -558,11 +558,6 @@
 		if (my($s) = /^\s*Status\s*:\s*(.*)$/) {
 			next if $s eq "Not Installed";
 
-			if ($s eq "Charging") {
-				$status = $ERRORS{WARNING} unless $status;
-			} elsif ($s ne "Optimal") {
-				$status = $ERRORS{CRITICAL};
-			}
 			push(@status, "Battery Status: $s");
 			next;
 		}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_raid/check_raid?r1=1.64&r2=1.65&f=u



More information about the pld-cvs-commit mailing list