summaryrefslogtreecommitdiffstats
path: root/THANKS.in
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2014-01-30 08:35:41 (GMT)
committerJan Wagner <waja@cyconet.org>2014-01-30 10:07:22 (GMT)
commitdf53473d03783ef853465c80162758bb6ee403c7 (patch)
tree7cd67f0a582c6164546c4c187aa02c6f2800ed88 /THANKS.in
parent7310030ae7a30f61990641c5c1674531823f457f (diff)
downloadmonitoring-plugins-df53473d03783ef853465c80162758bb6ee403c7.tar.gz
check_dig: patch to make dig honor -t option
When a timeout value is specified with the -t option, dig will sometimes timeout before the timer is actually reached. The problem occurs because the check_dig plugin does not pass the specified timeout value to dig, leaving dig to timeout with it's default value which seems to be around 10-15seconds. To reproduce: time ./check_dig -H 127.0.0.2 -l www.google.com -t 30 It will not run for 30secs, which is the expected behaviour. The following will work, because the timeout is less than the default dig timeout, so the plugin cancels the dig command: time ./check_dig -H 127.0.0.2 -l www.google.com -t 2 This fix passes the timeout value to dig, and sets the number of retries which tends to vary from system to system by default. Closes #1168
Diffstat (limited to 'THANKS.in')
-rw-r--r--THANKS.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/THANKS.in b/THANKS.in
index aef787c..2cfa54e 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -305,3 +305,4 @@ Geoff Oakham
305Tim Laszlo 305Tim Laszlo
306Stéphane Bortzmeyer 306Stéphane Bortzmeyer
307Luca Corti 307Luca Corti
308Jethro Carr