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
SoporteGSID
Posts: 6
Joined: Mon Mar 22, 2021 5:52 am

NRPE Error: Could not complete SSL handshake

Post by SoporteGSID »

Hi!

Another issue migrating from Nagios Core 3.2.3 to Nagios XI 5.8.2. All the checks with check_nrpe are failing with error "NRPE Error: Could not complete SSL handshake" (both in windows and linux machines):

Linux machines
Version of nrpe (running without xinetd): NRPE v2.12

Windows machines
Version of nrpe: NRPE 0.39.327

I have checked this post (same simptoms), trying with -2, -3 and -n options but same error. Is there another solution instead of upgrading all our clients (more than 800 including windows and linux)?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NRPE Error: Could not complete SSL handshake

Post by benjaminsmith »

Hi,

If you're not planing to upgrade the NRPE agent on the remote systems, then you'll want to add the -2 flag to the check_nrpe command in Nagios XI. This can be done in the CCM by going to Configure > Core Config Manager > Commands.

See: https://support.nagios.com/kb/article/n ... s-786.html

The SSL error is most likely the result of a changing IP address. Check the following file on the remotes systems

Code: Select all

/usr/local/nagios/etc/nrpe.cfg
and make sure the allowed host option is set to the IP address of the XI server. More details and instructions are available in the following guide.

NRPE - CHECK_NRPE: Error - Could Not Complete SSL Handshake
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
SoporteGSID
Posts: 6
Joined: Mon Mar 22, 2021 5:52 am

Re: NRPE Error: Could not complete SSL handshake

Post by SoporteGSID »

Hi Benjamin, thank you for your reply.

The -2 parameter doesn't work unless we add the following line to the nrpe.cfg:

Code: Select all

verify mode = none
Once added the line, the check is working again but we're going to update all of our clients after all :cry:
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NRPE Error: Could not complete SSL handshake

Post by dchurch »

Glad to hear you resolved it! Let us know if you have any related questions or if we're okay to lock this up and mark it as resolved.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
SoporteGSID
Posts: 6
Joined: Mon Mar 22, 2021 5:52 am

Re: NRPE Error: Could not complete SSL handshake

Post by SoporteGSID »

Please, mark this topic as resolved.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE Error: Could not complete SSL handshake

Post by scottwilkerson »

SoporteGSID wrote:Please, mark this topic as resolved.
Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked