[Nagiosplug-help] check_dns : Bug ?

Jonathan Angliss jon at netdork.net
Sat Jan 23 03:19:16 CET 2010


On Fri, 22 Jan 2010 18:36:27 +0100, Yoann LAMY
<yoannlamy at free.fr> wrote:

>Please tries, ...
>
>- ./check_dns -H www.google.com -s xxx.xxx.xxx.xx1 -v
>
>/usr/bin/nslookup -sil www.google.com xxx.xxx.xxx.xx1
>Server:         xxx.xxx.xxx.xx2
>Address:        xxx.xxx.xxx.xx2#53

As you can see from the verbose output, it's just calling nslookup, so
it's not likely to be a plugin bug, but an issue with your nslookup.
You can try doing the same by pasting the nslookup command you have
above, and see if you get the same behavior.

The behavior on mine is as expected.

$ ./check_dns -s 192.168.0.1 google.com -v
/usr/bin/nslookup -sil google.com 192.168.0.1
CRITICAL - Plugin timed out while executing system call

192.168.0.1 is a non-valid server for my host, and as you can see,
behaves exactly as you'd expect it to.
-- 
Jonathan Angliss
<jon at netdork.net>





More information about the Help mailing list