aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-03-26 22:24:34 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-03-26 22:24:34 +0000
commit00a4bbb6e8d1b88cb8109d94d138a21d2a0f6ecd (patch)
tree5f3b9d4640102469171eb304fed16ab802562c35 /net-mgmt/nagios-plugins
parentb86ebf5626fca8731610ddf66d95cc8efc6f0f43 (diff)
downloadports-00a4bbb6e8d1b88cb8109d94d138a21d2a0f6ecd.tar.gz
ports-00a4bbb6e8d1b88cb8109d94d138a21d2a0f6ecd.zip
Add timeout to check_ping{,6} commands. It helps nagios/icinga when
packet loss occur. PR: 218148 Reported by: Josef Karthauser Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=437010
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r--net-mgmt/nagios-plugins/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index e23466c8a4d6..fc0e06ee82ed 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -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=${NAGIOSUSER} \
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