[Pkg-nagios-changes] [pkg-nagios] r1189 - nagios-plugins/trunk/debian/pluginconfig

Jan Wagner waja-guest at alioth.debian.org
Mon Jul 9 10:15:44 UTC 2007


Author: waja-guest
Date: 2007-07-09 10:15:44 +0000 (Mon, 09 Jul 2007)
New Revision: 1189

Modified:
   nagios-plugins/trunk/debian/pluginconfig/ssh.cfg
Log:
add ssh check with possibility of port specification

Modified: nagios-plugins/trunk/debian/pluginconfig/ssh.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/ssh.cfg	2007-07-09 10:13:56 UTC (rev 1188)
+++ nagios-plugins/trunk/debian/pluginconfig/ssh.cfg	2007-07-09 10:15:44 UTC (rev 1189)
@@ -4,6 +4,12 @@
 	command_line	/usr/lib/nagios/plugins/check_ssh $HOSTADDRESS$
 	}
 
+# 'check_ssh_port' command definition
+define command{
+	command_name    check_ssh_port
+	command_line    /usr/lib/nagios/plugins/check_ssh -p $ARG1$ $HOSTADDRESS$
+	}
+
 ####
 # use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
 ####
@@ -13,3 +19,9 @@
         command_name    check_ssh_4
         command_line    /usr/lib/nagios/plugins/check_ssh $HOSTADDRESS$ -4
         }
+
+# 'check_ssh_port_4' command definition
+define command{
+	command_name    check_ssh_port_4
+	command_line    /usr/lib/nagios/plugins/check_ssh -4 -p $ARG1$ $HOSTADDRESS$
+	}




More information about the Pkg-nagios-changes mailing list