Page 1 of 1

[SOLVED] NRPE issue receiving data

Posted: Wed Nov 15, 2017 4:37 am
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.

Re: [SOLVED] NRPE issue receiving data

Posted: Wed Nov 15, 2017 10:14 am
by kyang
Glad you found the issue!
I'll be closing this thread!

Thanks for using the Nagios Support Forum!