Page 1 of 1

CHECK_NRPE: Error - Could not complete SSL handshake.

Posted: Fri Oct 09, 2015 3:52 am
by sushant4tech
Hi All,

I know this is one of the most common error, but i am desperate. Now please check the following details.

I have a Nagios Core instance on a Ubuntu server 'Master'. I am monitoring a windows server 'Client' with bunch of other servers. I have checked following things.
1. Port 5666 of the windows server 'Client' is open for the Ubuntu server 'Master'. I know this is required for NRPE service. I ran the command 'nmap' from ubuntu server with ip of windows server. Below is the result

Code: Select all

Host is up (0.0017s latency).
Not shown: 993 filtered ports
PORT      STATE SERVICE
21/tcp    open  ftp
80/tcp    open  http
3389/tcp  open  ms-wbt-server
5666/tcp  open  nrpe
49154/tcp open  unknown
49155/tcp open  unknown
49158/tcp open  unknown
2. On the windows server i have NSClient++ installed. I have added the ip of ubuntu server in the allowed hosts list in the 'nsclient.ini' file. and restarted the service.

Code: Select all

allowed hosts = X.X.X.X,127.0.0.1
Other than these 2 steps i dont know any other thing that i need to check which would resolve the issue. I still get following error. when i run check_nrpe for windows host

Code: Select all

$ /usr/lib/nagios/plugins/check_nrpe -H X.X.X.X
CHECK_NRPE: Error - Could not complete SSL handshake.
Can anybody help me out here to check what is going wrong?

Re: CHECK_NRPE: Error - Could not complete SSL handshake.

Posted: Fri Oct 09, 2015 9:45 am
by hsmith
Can you attach your nsc.ini/nsclient.ini with any sensitive information obfuscated please?