File: tcp_udp.cfg

package info (click to toggle)
monitoring-plugins 2.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,772 kB
  • sloc: ansic: 76,213; sh: 13,717; perl: 7,655; makefile: 490
file content (27 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (10)
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_tcp' command definition
define command{
	command_name	check_tcp
	command_line	/usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$'
	}

# 'check_udp' command definition
define command{
	command_name	check_udp
	command_line	/usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$'
	}

####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####

# 'check_tcp_4' command definition
define command{
        command_name    check_tcp_4
        command_line    /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$'
        }

# 'check_udp_4' command definition
define command{
        command_name    check_udp_4
        command_line    /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$'
        }