check_dns false positive

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

check_dns false positive

Postby putty » Mon Mar 24, 2014 6:36 am

Hi All

We used the Nagios Plugin Release 1.14, 1.15 and 2.0 and today we change our DNS Server to a other. Then we disabled the DNS Service, but the check returns a OK state.
I might also do something wrong, but it could be a bug ;)

Code: Select all
[root@nagios plugins]$ ./check_dns -s "IP from a non DNS Server" -H google.com
DNS OK: 4.016 seconds response time. google.ch returns |time=4.016219s;;;0.000000


Code: Select all
[root@nagios plugins]$ ./check_dns -s "IP from a DNS Server" -H google.com
DNS OK: 0.011 seconds response time. google.ch returns 173.194.40.55,173.194.40.56,173.194.40.63|time=0.011102s;;;0.000000


thank you guys, you are doing a great work
putty
 
Posts: 1
Joined: Mon Mar 24, 2014 5:24 am

Re: check_dns false positive

Postby sreinhardt » Mon Mar 24, 2014 9:25 am

Well that's certainly interesting, nice catch! I'll get looking into this.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sreinhardt
-fno-stack-protector
 
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm


Return to Nagios Plugin Development

Who is online

Users browsing this forum: NeonBlack and 2 guests