[Pkg-nagios-changes] [pkg-nagios] r1608 - in nagios-plugins/trunk/debian: . pluginconfig

Jan Wagner waja at alioth.debian.org
Fri Jan 30 19:40:05 UTC 2009


tags 395389 pending
thanks

Author: waja
Date: 2009-01-30 19:40:04 +0000 (Fri, 30 Jan 2009)
New Revision: 1608

Modified:
   nagios-plugins/trunk/debian/changelog
   nagios-plugins/trunk/debian/pluginconfig/disk.cfg
Log:
just reduce output to failing partitions

Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog	2009-01-25 18:10:23 UTC (rev 1607)
+++ nagios-plugins/trunk/debian/changelog	2009-01-30 19:40:04 UTC (rev 1608)
@@ -4,6 +4,8 @@
     definitions
   * changing check_cups command to use host headers anymore, since cups changed
     it's behavior in etch (Closes: #505610)
+  * add -e to all reconfigured check commands using check_disk, to only show
+    effected partitions, when warning or critical (Closes: #395389)
 
  -- Jan Wagner <waja at cyconet.org>  Thu, 02 Oct 2008 00:45:31 +0200
 

Modified: nagios-plugins/trunk/debian/pluginconfig/disk.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/disk.cfg	2009-01-25 18:10:23 UTC (rev 1607)
+++ nagios-plugins/trunk/debian/pluginconfig/disk.cfg	2009-01-30 19:40:04 UTC (rev 1608)
@@ -1,19 +1,19 @@
 # 'check_disk' command definition
 define command{
 	command_name	check_disk
-	command_line	/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -p '$ARG3$'
+	command_line	/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'
 	}
 
 # 'check_all_disks' command definition
 define command{
 	command_name	check_all_disks
-	command_line	/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$'
+	command_line	/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e
 	}
 
 # 'ssh_disk' command definition
 define command{
 	command_name	ssh_disk
-	command_line	/usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$' -c '\''$ARG2$'\'' -p '\''$ARG3$'\'
+	command_line	/usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\'
 	}
 
 ####
@@ -23,5 +23,5 @@
 # 'ssh_disk_4' command definition
 define command{
         command_name    ssh_disk_4
-        command_line    /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c '\''$ARG2$'\'' -p '\''$ARG3$'\' -4
+        command_line    /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\' -4
         }




More information about the Pkg-nagios-changes mailing list