NagiosXi with existing NRPE agents

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

NagiosXi with existing NRPE agents

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: NagiosXi with existing NRPE agents

Post 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>
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: NagiosXi with existing NRPE agents

Post by rdhall01 »

/check_nrpe -H XXX.XX.XXX.XXX results
CHECK_NRPE: Error - Could not complete SSL handshake.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosXi with existing NRPE agents

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