svn commit: r437010 - in head/net-mgmt: monitoring-plugins nagios-plugins
Mathieu Arnold
mat at FreeBSD.org
Sun Mar 26 22:24:36 UTC 2017
Author: mat
Date: Sun Mar 26 22:24:34 2017
New Revision: 437010
URL: https://svnweb.freebsd.org/changeset/ports/437010
Log:
Add timeout to check_ping{,6} commands. It helps nagios/icinga when
packet loss occur.
PR: 218148
Reported by: Josef Karthauser
Sponsored by: Absolight
Modified:
head/net-mgmt/monitoring-plugins/Makefile (contents, props changed)
head/net-mgmt/nagios-plugins/Makefile (contents, props changed)
Modified: head/net-mgmt/monitoring-plugins/Makefile
==============================================================================
--- head/net-mgmt/monitoring-plugins/Makefile Sun Mar 26 22:05:06 2017 (r437009)
+++ head/net-mgmt/monitoring-plugins/Makefile Sun Mar 26 22:24:34 2017 (r437010)
@@ -3,6 +3,7 @@
PORTNAME= monitoring-plugins
PORTVERSION= 2.2
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME}
@@ -66,8 +67,8 @@ CONFIGURE_ARGS+=--with-cgiurl=${NAGIOSCG
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 -X %d -c %d %s" \
ac_cv_path_PATH_TO_SMBCLIENT=${LOCALBASE}/bin/smbclient
CPPFLAGS+= -I${LOCALBASE}/include
Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile Sun Mar 26 22:05:06 2017 (r437009)
+++ head/net-mgmt/nagios-plugins/Makefile Sun Mar 26 22:24:34 2017 (r437010)
@@ -3,7 +3,7 @@
PORTNAME= nagios-plugins
PORTVERSION= 2.2.0
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://www.nagios-plugins.org/download/ \
@@ -73,8 +73,8 @@ CONFIGURE_ARGS+=--with-nagios-user=${NAG
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 -X %d -c %d %s" \
ac_cv_path_PATH_TO_SUDO=${LOCALBASE}/bin/sudo \
ac_cv_path_PATH_TO_SMBCLIENT=${LOCALBASE}/bin/smbclient
More information about the svn-ports-all
mailing list