add ssh check with possibility of port specification

This commit is contained in:
Jan Wagner 2007-07-09 10:15:44 +00:00
parent 075f41fdf2
commit 6b772e3a9c

View file

@ -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$
}