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.
If I understand correctly, this plugin doesn't need an IP to join the DHCP server, so we need to use NRPE plugin to access the DHCP server...
If it's correct, I did it but the response is an error :
NRPE - Unable to read output
What result do you get when running check_nrpe from the nagios machine like this? Also what is the result of "echo $?" immidiately after the check_nrpe command?
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.
I am not sure how this would effect data being returned via nrpe, my guess is it may not. However NRPE does define ; as a nasty metacharacter. Nagios, however does not appear to do the same within the nagios code or configs. However if possible I would suggest removing that from the plugin output, maybe replace with -. Also just to clarify, you are running the second command right? The first does not look like it provides valuable information in a nagios style format, but I also have not run the plugin myself.
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.