[SOLVED] NRPE issue receiving data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
JGCG
Posts: 45
Joined: Fri Sep 29, 2017 6:31 am

[SOLVED] NRPE issue receiving data

Post by JGCG »

Edit: this has been solved. Turns out there was a simple whitespace after the IP address in the /usr/local/nagios/etc/nrpe.conf files.


Hi,

Hope someone is able to help with the below.

We're migrating from Nagios Core 3.2 to Nagios XI.
We're in the process of importing all of our service checks, but we're facing an issue with the check_nrpe command not receving any data back.

On our old Nagios Core environment, the check_nrpe works as expected, as in the example below:

Code: Select all

nagios@NAGIOSCORE:~/libexec> ./check_nrpe -H client.domain -t 60 -n -c "check_procs"
OK: 168 processes|Processes=168;300;350
However, on the new server, the same command results in the below error:

Code: Select all

nagios@NAGIOSXI:~/libexec>./check_nrpe -H client.domain -t 60 -n -c "check_procs"
CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for error messages.
This happens for all the check_nrpe checks.

The IP off the server has been whitelisted on each of the clients, however we still are unable to run the check.
Any ideas on where we could start debugging this?

If it helps, the check_nrpe on the old environment is: 2.0 and on the new is 2.15.
Thank you.
kyang

Re: [SOLVED] NRPE issue receiving data

Post by kyang »

Glad you found the issue!
I'll be closing this thread!

Thanks for using the Nagios Support Forum!
Locked