Page 1 of 1

"CHECK_NRPE: Error - Could not complete SSL handshake" error

Posted: Wed Dec 14, 2016 9:18 am
by RIDS_I2MP
Hi Team,

We are trying to monitor a Linux server, we have installed nrpe on it. I am receiving below error when I am executing the below command from nagios server:

Code: Select all

[nagios@hostname libexec]$ ./check_nrpe -H <remotehost IP> -p 5666
CHECK_NRPE: Error - Could not complete SSL handshake.
[nagios@hostname libexec]$ ./check_nrpe -H <remotehost IP> -p 5666 -c check_disk -a '-w 10% -c 15% -p /opt'
CHECK_NRPE: Error - Could not complete SSL handshake.
But the same command is executed successfully when executed locally on the remote host:

Code: Select all

[root@remotehost libexec]# ./check_disk -w 15% -c 10% -p /opt
DISK OK - free space: / 13772 MB (32% inode=97%);| /=28809MB;38131;40374;0;44860
We have made the nagios server IP entry in /etc/xinetd.d/nrpe file.

Kindly let us know the solution.

Re: "CHECK_NRPE: Error - Could not complete SSL handshake" e

Posted: Wed Dec 14, 2016 9:21 am
by eloyd
Did you restart the xinetd service?

Re: "CHECK_NRPE: Error - Could not complete SSL handshake" e

Posted: Wed Dec 14, 2016 11:06 am
by avandemore
Please see the troubleshooting section here:

https://assets.nagios.com/downloads/nag ... e/NRPE.pdf

If that doesn't help, please post the debug log from the remote system.