fix check-switch-alive* checks

This commit is contained in:
Jan Wagner 2010-01-12 20:53:20 +00:00
parent 5213f02a63
commit 307e614e08
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View file

@ -32,6 +32,8 @@ nagios-plugins (1.4.14-1) unstable; urgency=low
Steve Lane (Closes: #561770)
* Add 02_check_icmp_links.dpatch to provide check_host and check_rta_multi,
thanks to Justin T Pryzby for reporting (Closes: #563090)
* Fix check-switch-alive* check commands by adding "-H" at the appropriate
place
-- Jan Wagner <waja@cyconet.org> Sun, 20 Dec 2009 19:55:45 +0100

View file

@ -22,7 +22,7 @@ define command{
# 'check-switch-alive' 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
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
}
@ -60,7 +60,7 @@ define command{
# 'check-switch-alive_4' command definition
define command{
command_name check-switch-alive_4
command_line /usr/lib/nagios/plugins/check_ping '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
}