[Pkg-nagios-changes] [pkg-nagios-plugins] 287/413: Add '-w %d' for inetutils-ping

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:33 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 9f8b903c2207adec19e318afa9dc06d73bceb216
Author: Jan Wagner <waja at cyconet.org>
Date:   Sun Feb 19 12:45:35 2012 +0000

    Add '-w %d' for inetutils-ping
---
 debian/changelog | 3 +++
 debian/rules     | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 22a5e17..acd275b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 nagios-plugins (1.4.15-6) UNRELEASED; urgency=low
 
   * Add icinga as recommand as alternative for nagios3
+  * Add '-w %d' as ping argument for check_ping on non-linux plattforms, as
+    inetutils-ping is now supporting this, thanks Guillem Jover for bringing
+    this up (Closes: #655023)
 
  -- Jan Wagner <waja at cyconet.org>  Wed, 07 Sep 2011 15:33:55 +0200
 
diff --git a/debian/rules b/debian/rules
index c1b0b68..87774f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,8 +56,8 @@ ifeq ($(DEB_HOST_ARCH_OS),linux)
 PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -n -U -w %d -c %d %s" \
                       --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s"
 else
-PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -n -c %d %s" \
-                      --with-ping6-command="/bin/ping6 -n -c %d %s"
+PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -n -w %d -c %d %s" \
+                      --with-ping6-command="/bin/ping6 -n -w %d -c %d %s"
 endif
 
 

-- 
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