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
klee
Posts: 147
Joined: Fri Apr 04, 2014 2:31 pm

CHECK_NRPE: Error - Could not complete SSL handshake

Post by klee »

Hello,

I set up NRPE according to this document.
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

When I run the check with: /usr/local/nagios/libexec/check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.

I followed the troubleshooting tips for this specific error without success.
http://assets.nagios.com/downloads/nagi ... utions.pdf

Can you please advise?

Thanks,

-klee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: CHECK_NRPE: Error - Could not complete SSL handshake

Post by tmcdonald »

What specifically did you follow in that document? Was NRPE compiled with SSL properly? Is the Nagios server IP allowed in the NRPE config?
Former Nagios employee
klee
Posts: 147
Joined: Fri Apr 04, 2014 2:31 pm

Re: CHECK_NRPE: Error - Could not complete SSL handshake

Post by klee »

I figure it out... I have to use 127.0.0.1 instead of localhost

/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1

I'll leave this post up in case others search for the same error :)

Please close thread.

Thanks,

-klee
Locked