[Nagiosplug-help] check_dig problem [Virus scanned]

srunschke at abit.de srunschke at abit.de
Mon Jun 20 05:34:20 CEST 2005


Greetings,

I have a fairly strange problem with check_dig.
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 10.1.1.1 -l sourceforge.net -w 0.8 
-c 2
DNS WARNING - 0.005 seconds response time (sourceforge.net. 1394 IN A 
66.35.250.203)|time=0.004595s;0.800000;2.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. 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 ;)

Any help would be appreciated.

sash

--------------------------------------------------
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

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

http://www.abit.net
http://www.abit-epos.net
http://www.my-academy.net
--------------------------------------------------
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 Help mailing list