Source of NRPE Error Messages

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Source of NRPE Error Messages

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Source of NRPE Error Messages

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Source of NRPE Error Messages

Post by awilson »

Thank you. We'll check for that.

Alan
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Source of NRPE Error Messages

Post by scottwilkerson »

Let us know if we can be of further assistance
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Source of NRPE Error Messages

Post by awilson »

This can be closed.
Thank you.
Alan
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Source of NRPE Error Messages

Post by scottwilkerson »

Great locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked