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: failed to parse l188.8.131.52 [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.