[Nagiosplug-help] check_dns : Bug ?
yoannlamy at free.fr
Sat Jan 23 08:36:00 CET 2010
I have a CentOS 5.4.
- /usr/bin/nslookup -sil www.google.com xxx.xxx.xxx.xx1
- cat /etc/resolv.conf
Le 23/01/2010 03:19, Jonathan Angliss a écrit :
> 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.
More information about the Help