Date: Sun, 26 Mar 2017 20:06:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218148] net-mgmt/monitoring-plugins check_ping needs to be configured with timeout flag for best experience. Message-ID: <bug-218148-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218148 Bug ID: 218148 Summary: net-mgmt/monitoring-plugins check_ping needs to be configured with timeout flag for best experience. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mat@FreeBSD.org Reporter: joe@truespeed.com Flags: maintainer-feedback?(mat@FreeBSD.org) Assignee: mat@FreeBSD.org Check_ping needs to pass the -t flag to ping otherwise icinga/nagios doesn't get the correct feed back in a packet loss situation. It's easy to do, just make this change to the Makefile: diff --git a/Makefile.orig b/Makefile index 58284a2..bf2d104 100644 --- a/Makefile.orig +++ b/Makefile @@ -67,8 +67,8 @@ CONFIGURE_ARGS+=3D--with-cgiurl=3D${NAGIOSCGIURL} \ CONFIGURE_ARGS+=3Dac_cv_path_PATH_TO_QMAIL_QSTAT=3D/var/qmail/bin/qmail-qs= tat \ ac_cv_path_PATH_TO_PING=3D/sbin/ping \ ac_cv_path_PATH_TO_PING6=3D/sbin/ping6 \ - --with-ping-command=3D"/sbin/ping -n -c %d %s" \ - --with-ping6-command=3D"/sbin/ping6 -n -c %d %s" \ + --with-ping-command=3D"/sbin/ping -n -t %d -c %d %s" \ + --with-ping6-command=3D"/sbin/ping6 -n -t %d -c %d %s" \ ac_cv_path_PATH_TO_SMBCLIENT=3D${LOCALBASE}/bin/smbclient I've also submitted this as a bug to the monitoring-plugins github, as it w= ould be good for them to auto configure properly. (https://github.com/monitoring-plugins/monitoring-plugins/issues/1473) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218148-13>