SVN: nagios-config/trunk/commands: check_disk.cfg check_ping.cfg check_smtp.cfg check_ssh.cfg

glen glen at pld-linux.org
Fri Mar 7 13:19:26 CET 2014


Author: glen
Date: Fri Mar  7 13:19:26 2014
New Revision: 12737

Modified:
   nagios-config/trunk/commands/check_disk.cfg
   nagios-config/trunk/commands/check_ping.cfg
   nagios-config/trunk/commands/check_smtp.cfg
   nagios-config/trunk/commands/check_ssh.cfg
Log:
add variable arguments to all commands (check_local_disk, check_ping, check_smtp, check_ssh had it missing)


Modified: nagios-config/trunk/commands/check_disk.cfg
==============================================================================
--- nagios-config/trunk/commands/check_disk.cfg	(original)
+++ nagios-config/trunk/commands/check_disk.cfg	Fri Mar  7 13:19:26 2014
@@ -1,5 +1,5 @@
 # 'check_local_disk' command definition
 define command {
 	command_name    check_local_disk
-	command_line    $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
+	command_line    $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ $ARG4$
 }

Modified: nagios-config/trunk/commands/check_ping.cfg
==============================================================================
--- nagios-config/trunk/commands/check_ping.cfg	(original)
+++ nagios-config/trunk/commands/check_ping.cfg	Fri Mar  7 13:19:26 2014
@@ -12,7 +12,7 @@
 # Command to check to see if a host is "alive" (up) by pinging it
 define command {
 	command_name    check-host-alive
-	command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 100,99% -c 5000,100% -p 1
+	command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 100,99% -c 5000,100% -p 1 $ARG1$
 }
 
 define service {

Modified: nagios-config/trunk/commands/check_smtp.cfg
==============================================================================
--- nagios-config/trunk/commands/check_smtp.cfg	(original)
+++ nagios-config/trunk/commands/check_smtp.cfg	Fri Mar  7 13:19:26 2014
@@ -11,7 +11,7 @@
 
 define command {
 	command_name    check_smtps.crt
-	command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p 465 -D 14
+	command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p 465 -D 14 $ARG1$
 }
 
 # SMTP

Modified: nagios-config/trunk/commands/check_ssh.cfg
==============================================================================
--- nagios-config/trunk/commands/check_ssh.cfg	(original)
+++ nagios-config/trunk/commands/check_ssh.cfg	Fri Mar  7 13:19:26 2014
@@ -1,7 +1,7 @@
 # 'check_ssh' command definition
 define command {
 	command_name    check_ssh
-	command_line    $USER1$/check_ssh $ARG1$ $HOSTADDRESS$
+	command_line    $USER1$/check_ssh -H $HOSTADDRESS$ $ARG1$
 }
 
 # SSH


More information about the pld-cvs-commit mailing list