CHECK_NRPE: Error – Could not complete SSL handshake

[Total: 5    Average: 5/5]

How To fix “CHECK_NRPE: Error – Could not complete SSL handshake” error in nagios.

nagios_logo

 

Many of us has been experiencing the “CHECK_NRPE: Error – Could not complete SSL handshake”. Why its happening ? It was happen when NRPE server is not allowing to access service from Nagios server. What we can do ? Don’t worry nothing is there to think much, You need to add nagios server ip into nrpe configuration file to solve the issue.

How To fix “CHECK_NRPE: Error – Could not complete SSL handshake” guide!

Step 1: “CHECK_NRPE: Error – Could not complete SSL handshake” is usually a client side problem.

Step 2: Nagios client holds the file nrpe.cfg at location /etc/nagios/nrpe.cfg

Step 3: To FIX this you need to edit nrpe.cfg file and the line allowed_hosts.

By default nrpe.cfg allowed_hosts line only holds localhost address:

allowed_hosts=127.0.0.1

You need to add the address one or more of your Nagios servers – separate it with commas:

allowed_hosts=127.0.0.1,192.168.1.1

Step 4: restart nrpe service

[root@foo1 ~]# service nrpe restart
Shutting down Nagios NRPE daemon (nrpe):                   [  OK  ]
Starting Nagios NRPE daemon (nrpe):                        [  OK  ]

Now the “CHECK_NRPE: Error – Could not complete SSL handshake” error gone from your nagios.

Contact me at milind@24x7serversolutions.com if you need any help.