Page 1 of 1

nrpe[7819]: Error: (!log_opts) Could not complete SSL handsh

Posted: Thu Jan 25, 2018 9:20 am
by praveenponugoti
Hi Support team,

Good day...!!.

We are using Nrpe V3.2.1 on nagios server and agent. Agent is properly reporting to nagios. All services are green. But on agent machine for every minute we are seeing error " nrpe[7819]: Error: (!log_opts) Could not complete SSL handshake with x.x.x.x: 5" in /var/log/messages file.

Screenshot of client reporting in NagiosXI:

file:///home/praveen/Desktop/M2.png
From nagiosxi server client reporting properly:

file:///home/praveen/Desktop/M4.png

Port 5666 also listening properly from NagiosXI:



In client :
file:///home/praveen/Desktop/M5.png

In client nrpe.cfg the below parameters are enabled:

log_facility=daemon
debug=1
pid_file=/usr/local/nagios/var/nrpe.pid
server_port=5666
nrpe_user=nagios
nrpe_group=nagios
allowed_hosts=127.0.0.1,nagiosXI server Ip
dont_blame_nrpe=1
allow_bash_command_substitution=0
command_timeout=60
connection_timeout=300

Error messages in /var/log/messages at client end:

Jan 20 09:09:05 TUS3VSATSTDIN01 nrpe[7819]: CONN_CHECK_PEER: checking if host is allowed: x.x.x.x port 37056
Jan 20 09:09:05 TUS3VSATSTDIN01 nrpe[7819]: is_an_allowed_host (AF_INET): is host >x.x.x.x< an allowed host >x.x.x.x<
Jan 20 09:09:05 TUS3VSATSTDIN01 nrpe[7819]: is_an_allowed_host (AF_INET): is host >x.x.x.x< an allowed host >x.x.x.x<
Jan 20 09:09:05 TUS3VSATSTDIN01 nrpe[7819]: is_an_allowed_host (AF_INET): host is in allowed host list!
Jan 20 09:09:05 TUS3VSATSTDIN01 nrpe[7819]: Error: (!log_opts) Could not complete SSL handshake with x.x.x.x: 5
Jan 20 09:13:07 TUS3VSATSTDIN01 nrpe[7976]: CONN_CHECK_PEER: checking if host is allowed: x.x.x.x port 59061
Jan 20 09:13:07 TUS3VSATSTDIN01 nrpe[7976]: is_an_allowed_host (AF_INET): is host >x.x.x.x< an allowed host >x.x.x.x<
Jan 20 09:13:07 TUS3VSATSTDIN01 nrpe[7976]: is_an_allowed_host (AF_INET): is host >x.x.x.x< an allowed host >x.x.x.x<
Jan 20 09:13:07 TUS3VSATSTDIN01 nrpe[7976]: is_an_allowed_host (AF_INET): host is in allowed host list!
Jan 20 09:13:07 TUS3VSATSTDIN01 nrpe[7976]: Error: (!log_opts) Could not complete SSL handshake with x.x.x.x: 5
Jan 20 09:13:21 TUS3VSATSTDIN01 nrpe[7979]: CONN_CHECK_PEER: checking if host is allowed: x.x.x.x port 63169
Jan 20 09:13:21 TUS3VSATSTDIN01 nrpe[7979]: is_an_allowed_host (AF_INET): is host >x.x.x.x< an allowed host >x.x.x.x<
Jan 20 09:13:21 TUS3VSATSTDIN01 nrpe[7979]: is_an_allowed_host (AF_INET): is host >x.x.x.x< an allowed host >x.x.x.x<
Jan 20 09:13:21 TUS3VSATSTDIN01 nrpe[7979]: is_an_allowed_host (AF_INET): host is in allowed host list!
Jan 20 09:13:24 TUS3VSATSTDIN01 nrpe[7983]: CONN_CHECK_PEER: checking if host is allowed: x.x.x.x port 51396
Jan 20 09:13:24 TUS3VSATSTDIN01 nrpe[7983]: is_an_allowed_host (AF_INET): is host >x.x.x.x< an allowed host >x.x.x.x<
Jan 20 09:13:24 TUS3VSATSTDIN01 nrpe[7983]: is_an_allowed_host (AF_INET): is host >x.x.x.x< an allowed host >x.x.x.x<
Jan 20 09:13:24 TUS3VSATSTDIN01 nrpe[7983]: is_an_allowed_host (AF_INET): host is in allowed host list!
Jan 20 09:13:24 TUS3VSATSTDIN01 nrpe[7983]: Error: (!log_opts) Could not complete SSL handshake with x.x.x.x: 5


Could you please analyse and suggest the solution to fix " nrpe[7983]: Error: (!log_opts) Could not complete SSL handshake with x.x.x.x: 5" issue.

With Regards,
PRAVEEN KUMAR PONUGOTI

Re: nrpe[7819]: Error: (!log_opts) Could not complete SSL ha

Posted: Thu Jan 25, 2018 3:01 pm
by npolovenko
Hello, @praveenponugoti. We do have a troubleshooting article for this problem:
https://support.nagios.com/kb/article/n ... e-615.html
Please go over this article and if the problem is still there after, send us the nrpe.cfg file.
Thank you.