add explicit IPv6 checks to ping.cfg

This commit is contained in:
Jan Wagner 2006-12-21 22:27:14 +00:00
parent 1c86c06f37
commit b18c1da6a5
2 changed files with 41 additions and 0 deletions

3
debian/changelog vendored
View file

@ -2,6 +2,9 @@ nagios-plugins (1.4.5-3) UNRELEASED; urgency=low
* NOT RELEASED YET
[jan wagner]
* add explicit IPv4 checks to ping.cfg
-- sean finney <seanius@copelandia.seanius.net> Wed, 6 Dec 2006 23:47:12 +0100
nagios-plugins (1.4.5-2) unstable; urgency=medium

View file

@ -32,3 +32,41 @@ define command{
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
}
####
# use these checks, if you wonna test IPv4 connectivity on IPv6 enabled systems
####
# 'check_ping_4' command definition
define command{
command_name check_ping
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -4
}
# 'check-host-alive_4' command definition
define command{
command_name check-host-alive
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
}
# 'check-printer-alive_4' command definition
define command{
command_name check-printer-alive
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
}
# 'check-switch-alive_4' command definition
define command{
command_name check-switch-alive
command_line /usr/lib/nagios/plugins/check_ping $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
}
# 'check-router-alive_4' command definition
define command{
command_name check-router-alive
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
}