add ssh check with possibility of port specification
This commit is contained in:
parent
075f41fdf2
commit
6b772e3a9c
12
debian/pluginconfig/ssh.cfg
vendored
12
debian/pluginconfig/ssh.cfg
vendored
|
@ -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$
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue