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)?
NRPE Error: Could not complete SSL handshake
-
SoporteGSID
- Posts: 6
- Joined: Mon Mar 22, 2021 5:52 am
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NRPE Error: Could not complete SSL handshake
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
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
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
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!
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
Hi Benjamin, thank you for your reply.
The -2 parameter doesn't work unless we add the following line to the nrpe.cfg:
Once added the line, the check is working again but we're going to update all of our clients after all 
The -2 parameter doesn't work unless we add the following line to the nrpe.cfg:
Code: Select all
verify mode = noneRe: NRPE Error: Could not complete SSL handshake
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.
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
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
Locking threadSoporteGSID wrote:Please, mark this topic as resolved.