CHECK_NRPE: Error - Could not complete SSL handshake.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
sushant4tech
Posts: 25
Joined: Fri Jul 31, 2015 12:24 am

CHECK_NRPE: Error - Could not complete SSL handshake.

Post 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?
- $u$h@nT
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post by hsmith »

Can you attach your nsc.ini/nsclient.ini with any sensitive information obfuscated please?
Former Nagios Employee.
me.
Locked