tbartelmess / NRPE-OSX

An OSX Installer Package to Install NRPE
http://tbartelmess.github.io/NRPE-OSX
MIT License
4 stars 3 forks source link

Error: Could not complete SSL handshake. 1 #2

Open ghost opened 9 years ago

ghost commented 9 years ago

I could not get our nagios server (version 4.0.8) to talk to the nrpe daemon, always getting this error on the server side:

CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for error messages.

... and the nrpe log on the Mac would just state:

9.4.2015 13.14.32,266 nrpe[3227]: Error: Could not complete SSL handshake. 1

Disabling SSL in nrpe solved the problem (com.nagios.nrpe.plist):

<string>-n</string>
tbartelmess commented 9 years ago

What OS are you running on?

ghost commented 9 years ago

This was on 10.8.5

tbartelmess commented 9 years ago

And the server is configured to use SSL?

ghost commented 9 years ago

Good point. This is the nagios4 package from FreeBSD (10.1) and now that you mention it, I don't think it even supports SSL. I haven't found a definitive answer, but pkg info on nagios4 says:

Shared Libs required:
    libpng16.so.16
    libltdl.so.7
    libjpeg.so.8
    libgd.so.5

... so I'm guessing this issue has nothing to do with NRPE-OSX :)