[Nagiosplug-devel] Timeout bug in check_dns

Jumper99 at gmx.de Jumper99 at gmx.de
Fri May 20 17:50:46 CEST 2011


Hi,

if you specify a timeout >15 seconds the plugin reports "OK" although the 
request times out:

[helmut at BSDHelmut ~]$ sudo /usr/local/libexec/nagios/check_dns -H www.yahoo.com -s 1.2.3.4 -t 16
DNS OK: 15.056 seconds response time. www.yahoo.com returns |time=15.055528s;;;0.000000
[helmut at BSDHelmut ~]$ sudo /usr/local/libexec/nagios/check_dns -H www.yahoo.com -s 1.2.3.4 -t 15
CRITICAL - Plugin timed out while executing system call

[helmut at BSDHelmut ~]$ sudo /usr/local/libexec/nagios/check_dns -V check_dns v (nagios-plugins 1.4.15)
[helmut at BSDHelmut ~]$ uname -a
FreeBSD BSDHelmut.charlieroot.de 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Sun Feb 27 00:24:40 CET 2011 
root at BSDHelmut.charlieroot.de:/usr/obj/usr/src/sys/GENERIC-QUOTA-PF-ALTQ amd64
[helmut at BSDHelmut ~]$

Regards, Helmut 
-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone




More information about the Devel mailing list