Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
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
[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
[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
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.