Page 1 of 1

Source of NRPE Error Messages

Posted: Thu Apr 19, 2018 1:59 pm
by awilson
Hi. When the testing an NRPE check like: /usr/local/nagios/libexec/check_nrpe -H {remote host ip} -t 30 -c check_init_service -a 'sshd'
NRPE: Unable to read output, is the error message coming from the remote NRPE or the local (on the Nagios host) NRPE?

Thanks!

Re: Source of NRPE Error Messages

Posted: Thu Apr 19, 2018 4:24 pm
by scottwilkerson
awilson wrote:Hi. When the testing an NRPE check like: /usr/local/nagios/libexec/check_nrpe -H {remote host ip} -t 30 -c check_init_service -a 'sshd'
NRPE: Unable to read output, is the error message coming from the remote NRPE or the local (on the Nagios host) NRPE?

Thanks!
Usually this output comes from the check_nrpe plugin when it was returned no output, because the plugin returned nothing, or was misconfigured in the nrpe.cfg.

That particular command is special and usually required that the command be called with sudo and that a sudoers entry me in the sudoers file on the client

Re: Source of NRPE Error Messages

Posted: Fri Apr 20, 2018 4:29 pm
by awilson
Thank you. We'll check for that.

Alan

Re: Source of NRPE Error Messages

Posted: Mon Apr 23, 2018 9:03 am
by scottwilkerson
Let us know if we can be of further assistance

Re: Source of NRPE Error Messages

Posted: Thu Apr 26, 2018 11:08 pm
by awilson
This can be closed.
Thank you.
Alan

Re: Source of NRPE Error Messages

Posted: Fri Apr 27, 2018 8:11 am
by scottwilkerson
Great locking