CHECK_NRPE: Error - Could not complete SSL handshake.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jabi27
Posts: 34
Joined: Thu Jan 19, 2017 4:30 pm

CHECK_NRPE: Error - Could not complete SSL handshake.

Post by jabi27 »

Hi,

I get this error and I am a bit confused. From the server I issue:

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H kdb-db-test1.kdb.stil.dk
CHECK_NRPE: Error - Could not complete SSL handshake.
At the clients log I see:

Code: Select all

[1509259601] Error: (use_ssl == false): Request packet version was invalid!
[1509259601] Could not read request from client , bailing out...
I think the nrpe is running under xinitd and have allowed the nagios server in the nrpe:

Code: Select all

cat /etc/xinetd.d/nrpe
service nrpe
{
    disable         = no
    per_source      = 25
    socket_type     = stream
    port            = 5666
    wait            = no
    user            = nagios
    group           = nagios
    server          = /usr/local/nagios/bin/nrpe
    server_args     = -n -4 -c /usr/local/nagios/etc/nrpe.cfg --inetd
    only_from       = 195.231.243.237 127.0.0.1
    log_on_success  = 
}
The 195.... is the nagios server. I have experimented with options "-n -4" there is no differences.


Any ideas?

Best
/Jan
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

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

Post by npolovenko »

Hello, @jabi27. Can you check the version of nrpe client on your Nagios Server and on the remote server as well?

Code: Select all

cd  /usr/local/nagios/libexec/
./check_nrpe
One of the plugins may be outdated.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked