Page 1 of 1

NagiosXi with existing NRPE agents

Posted: Fri Mar 16, 2012 12:54 pm
by rdhall01
Nagiosxi Is installed and running trying to get nrpe to work with Nagiosxi! I think the issue is that the version of nrpe on the servers I need to monitor is a differenet verision and the check are way different than whats configured in nagiosxi for nrpe! I have alot of nix servers that this will pose an issue with! I need to know the correct way to address the issue at hand.

The error message from nagiosxi "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages."

i have validated from telent I can connect and that the server is in the allowed host section for nrpe any qugguestion would be great

Re: NagiosXi with existing NRPE agents

Posted: Fri Mar 16, 2012 2:28 pm
by mguthrie
Can you run the basic command against one of your hosts and show us the output?

Code: Select all

cd /usr/local/nagios/libexec
./check_nrpe -H <aClientAddress>

Re: NagiosXi with existing NRPE agents

Posted: Fri Mar 16, 2012 2:34 pm
by rdhall01
/check_nrpe -H XXX.XX.XXX.XXX results
CHECK_NRPE: Error - Could not complete SSL handshake.

Re: NagiosXi with existing NRPE agents

Posted: Fri Mar 16, 2012 2:40 pm
by lmiltchev
Run the following command in terminal on the client machine and show the output:

Code: Select all

# /usr/local/nagios/libexec/check_nrpe -H localhost
You should see:

NRPE v2.12

Note: If it doesn't work, you may have to add "127.0.0.1" to the "only_from" line in "/etc/xinetd.d/nrpe" file and restart the daemon:

Code: Select all

# service xinetd restart
Also, show the log messages:

Code: Select all

# tail /var/log/messages