File: ssh.cfg

package info (click to toggle)
nagios-plugins 1.4.15-3squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,184 kB
  • ctags: 6,100
  • sloc: ansic: 55,405; perl: 13,875; sh: 13,136; makefile: 496; python: 444; awk: 46
file content (27 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 'check_ssh' command definition
define command{
	command_name	check_ssh
	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
####

# 'check_ssh_4' command definition
define command{
        command_name    check_ssh_4
        command_line    /usr/lib/nagios/plugins/check_ssh -4 '$HOSTADDRESS$'
        }

# '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$'
	}