check_dns false positive

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

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
DNS OK: 4.016 seconds response time. returns |time=4.016219s;;;0.000000

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

thank you guys, you are doing a great work
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.
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Return to Community Support

Who is online

Users browsing this forum: lmiltchev, raja2312 and 30 guests