[Pkg-nagios-changes] [pkg-nagios-plugins] 80/413: add ssh check with possibility of port specification
Jan Wagner
waja at moszumanska.debian.org
Tue Nov 26 23:13:08 UTC 2013
This is an automated email from the git hooks/post-receive script.
waja pushed a commit to branch master
in repository pkg-nagios-plugins.
commit 6b772e3a9c37a6fdbbe3ff311e89fb1247ce12f6
Author: Jan Wagner <waja at cyconet.org>
Date: Mon Jul 9 10:15:44 2007 +0000
add ssh check with possibility of port specification
---
debian/pluginconfig/ssh.cfg | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/debian/pluginconfig/ssh.cfg b/debian/pluginconfig/ssh.cfg
index 01b52f2..9f599d9 100644
--- a/debian/pluginconfig/ssh.cfg
+++ b/debian/pluginconfig/ssh.cfg
@@ -4,6 +4,12 @@ define command{
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 @@ define command{
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$
+ }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git
More information about the Pkg-nagios-changes
mailing list