[Nagiosplug-devel] [Virus scanned]

srunschke at abit.de srunschke at abit.de
Mon Jun 27 02:09:13 CEST 2005


I have a fairly strange problem with both check_dig and check_dns,
both from v1.4. It is reporting WARNING messages when it shouldn't
and I cannot get any clue why those pop up at all.

An example run from the commandline:

[nagios at nagios libexec]$ ./check_dig -H -l sourceforge.net -w 2
-c 5
DNS WARNING - 0.005 seconds response time (sourceforge.net. 1394 IN A|time=0.004595s;2.000000;5.000000;0.000000

While the warning and critical threshholds are noted correctly in the perf 

data output, check_dig _always_ goes into WARNING as soon as the response
is 0.005s or greater - which is unwanted behaviour of course, since I set
warning to 2 sec and critical to 5 sec.
I already took a peek into the code, but I couldn't find any error -
to me it looks like it should work smooth, but then I'm not a big C
crack ;)

I'm in dire need of help, the other admins are going to lynch me soon ;)


Sascha Runschke
Netzwerk Administration

Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:SRunschke at abit.de

Der Inhalt dieser Email sowie die Anhänge sind ausschließlich für den 
bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat 
dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, 
daß jede Form der Kenntnisnahme, Veröffentlichung,  Vervielfältigung oder 
Weitergabe des Inhalts dieser Email unzulässig ist. Wir möchten Sie 
außerdem darauf hinweisen, daß die Kommunikation per Email über das 
Internet unsicher ist, da fuer unberechtigte Dritte grundsätzlich die 
Möglichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese 
Nachricht versehentlich erhalten, informieren Sie bitte den Absender und 
löschen diese Nachricht mit den Anhängen. Herzlichen Dank

The information and any attachments contained in this email are intended 
solely for the addressee. Access to this email by anyone else is 
unauthorized. If you are not the intended recipient, any form of 
disclosure, reproduction, distribution or any action taken or refrained 
from in reliance on it, is prohibited and may be unlawful. We also like to 
inform you that communication via email over the internet is insecure 
because third parties may have the possibility to access and manipulate 
emails. If you have received the message in error, please advise the 
sender and delete the message and any attachments. Thank you very much.

More information about the Devel mailing list