NRPE:Unable to read output

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NRPE:Unable to read output

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

Re: NRPE:Unable to read output

Post by bsivavani »

Sent you in PM.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NRPE:Unable to read output

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked