[Bug 218148] net-mgmt/monitoring-plugins check_ping needs to be configured with timeout flag for best experience.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 26 20:06:57 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218148
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 at FreeBSD.org
Reporter: joe at truespeed.com
Flags: maintainer-feedback?(mat at FreeBSD.org)
Assignee: mat at 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+=--with-cgiurl=${NAGIOSCGIURL} \
CONFIGURE_ARGS+=ac_cv_path_PATH_TO_QMAIL_QSTAT=/var/qmail/bin/qmail-qstat \
ac_cv_path_PATH_TO_PING=/sbin/ping \
ac_cv_path_PATH_TO_PING6=/sbin/ping6 \
- --with-ping-command="/sbin/ping -n -c %d %s" \
- --with-ping6-command="/sbin/ping6 -n -c %d %s" \
+ --with-ping-command="/sbin/ping -n -t %d -c %d %s" \
+ --with-ping6-command="/sbin/ping6 -n -t %d -c %d %s" \
ac_cv_path_PATH_TO_SMBCLIENT=${LOCALBASE}/bin/smbclient
I've also submitted this as a bug to the monitoring-plugins github, as it would
be good for them to auto configure properly.
(https://github.com/monitoring-plugins/monitoring-plugins/issues/1473)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list