[Pkg-nagios-changes] [pkg-nagios-plugins] 204/413: fix check-switch-alive* checks

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:23 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit 307e614e08d3747fe798bfa218e1f1fbb39fa46a
Author: Jan Wagner <waja at cyconet.org>
Date:   Tue Jan 12 20:53:20 2010 +0000

    fix check-switch-alive* checks
---
 debian/changelog             | 2 ++
 debian/pluginconfig/ping.cfg | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6281dee..508d4c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 at cyconet.org>  Sun, 20 Dec 2009 19:55:45 +0100
 
diff --git a/debian/pluginconfig/ping.cfg b/debian/pluginconfig/ping.cfg
index f6a17fb..4d76cab 100644
--- a/debian/pluginconfig/ping.cfg
+++ b/debian/pluginconfig/ping.cfg
@@ -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
 	}
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list