Page 2 of 2

Re: NRPE:Unable to read output

Posted: Thu Apr 07, 2016 10:04 am
by tgriep
Can you email in the following files from the remote server.
/usr/local/nagios/etc/nrpe.cfg
/etc/xinetd.d/nrpe

You will have to add the following line to your /etc/sudoers file on the remote server so the check has the ability to run the plugin.

Code: Select all

nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_init_service
What is the IP address of the Nagios server?
Can you login to the Nagios server, run the following and post the output?

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H s930l3085.rwe.com

Re: NRPE:Unable to read output

Posted: Thu Apr 07, 2016 1:59 pm
by bsivavani
Sent you in PM.

Re: NRPE:Unable to read output

Posted: Thu Apr 07, 2016 2:29 pm
by tgriep
I sent this response in the PM. Copied it here for others to view.

OK, I think I know what you are looking for.
If the remote system crashes, rebooted, etc, you do not want all of the service checks to send notifications?
If that is what you are looking for, then setting up a service dependency is what you are looking for.
Take a look at this link that describes how it works.
https://assets.nagios.com/downloads/nag ... ncies.html