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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

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

Post 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.
Last edited by avandemore on Wed Dec 14, 2016 11:13 am, edited 1 time in total.
Reason: Please use code tags for output.
Thanks & Regards,
I2MP Team.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

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

Post by eloyd »

Did you restart the xinetd service?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

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

Post 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.
Previous Nagios employee
Locked