Support legacy format for check_dns

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.
Locked
john_moody
Posts: 3
Joined: Sun Aug 04, 2013 11:55 pm

Support legacy format for check_dns

Post by john_moody »

Hey Team,

The new plugin bundle looks great! My only incomapabiltiy issue is with the 'check_dns' plugin. I have the plugin configured in several hundred checks, all expecting just the IP address as the return string. Is it possible to add a parameter to return just the IP address, or allow for sub-string matching?

If the new return string format (IP+A) was due to a specific reason, and can't be changed, let me know and I will start updating :)

Thanks in advance.

cheers
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Support legacy format for check_dns

Post by sreinhardt »

You're present settings are correct, where it should only display the IP. This one must have missed testing, but I am getting to it right way.
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.
Locked