NRPE SSL handshake error - yet again


#1

Hi folks,

Newbie posting here.

One of my servers went down last evening due to power failure and when it came back up, Nagios/nrpe could no longer connect to this server.

When I ran the command /usr/local/nagios/libexec/check_nrpe -H from the Nagios server I got the following error message.
CHECK_NRPE: Error - Could not complete SSL handshake.

On the affected server, I made sure iptables is stopped and nrpe is listening on port 5666 etc., but still didn’t help. Checking /var/log/messages file I noticed the following error message.
Jul 6 09:06:53 xinetd[23412]: failed to parse l92.168.1.1 [file=/etc/xinetd.d/nrpe] [line=15] **NOTE: ** not the real IP address

I re-edited /etc/xinetd.d/nrpe file to make sure the entry in line 15 is exactly the same as on other servers. The entry is only_from = 192.168.1.1 192.168.1.2
This unfortunately didn’t help. When I restarted xinetd service, I still see the same failed to parse error message. Am I missing something here?

The server is running RHEL 4 64bit and it has been working fine for more than 2 years.

TIA
WH


#2
failed to parse l92.168.1.1

If that is copy & paste you have an L instead of a 1


#3

[quote=“luca”] failed to parse l92.168.1.1

If that is copy & paste you have an L instead of a 1[/quote]

I thought I had that checked/edited earlier but gave it a second shot and voila, its working now!!
Thanks.