Category5.TV Community Forum

Full Version: nrpe linux monitoring ssl issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there, 
Starting off with info..
NEMS on RPi
Version 1.5
Build 7

In cockpit -> logs , seeing error: Could not complete ssl handshake with 192.168.x.x: rc=-1 SSL-error=5.
Have installed the nrpe server on the linux server as the Docs showed.. "apt-get install nagios-nrpe-server nagios-plugins" and changed allow hosts etc..
Could this be a compile issue with the install of nrpe? 


Any help would be greatly appreciated with this issue

Regards,

George
Hi George,
The docs are a bit out of date for NRPE at this point (since 1.5 is so many miles ahead of 1.3) - but did you follow https://docs.nemslinux.com/usage/nrpe_on_linux ?

I want to know if the docs are no longer true so I can look into fixing them. Unfortunatley I personally am very much focused on the builds until they're all done, so let me & the community know.
Hi Robbie,

Thanks for the reply! 
Yes i followed the documentation to a T yielding no results.. (can confirm ports are open and accessible from nems)
Reading up online there are some suggestions that you have to install it from source, otherwise it will compile with the "no-ssl" function.
In adagios seeing connection reset and connection reset by peer on the machine in question.
That is all I could find on the matter.. hope that may help someone investigate further.
Did you managed to get this to working?

I'm seeing the exact same error with NRPE on Windows and can't get it to work,
Most related topics with Nagios sugest to change NRPE server settings to sometihng like this:


allow arguments = true
allow nasty_meta chars = true
allowed hosts = 127.0.0.1,xxx.xxx.xxx.xxx
port = 5666
use SSL = 1
ssl options =
verify mode = none
insecure = true


But even with above settings it keeps moaning about the SSL handshake

2019-06-06 09:44:02: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: sslv3 alert handshake failure: 1040
Hi,

I never did get this working, still cannot use NRPE for linux monitoring.
I think the documentation is very out of date as Robbie stated above.