CHECK_NRPE: Error - Could not complete SSL handshake
Dermot Duffy
dermot.duffy at brandtone.ie
Tue Dec 6 18:24:19 CET 2011
Issue Resolved.
TCP_wrappers was the culprit.
R,
D.
From: Dermot Duffy
Sent: 06 December 2011 17:04
To: nagios-users at lists.sourceforge.net
Subject: CHECK_NRPE: Error - Could not complete SSL handshake
Hi,
I have installed the following on a RHEL 5.4 blade server:
- nagios-3.2.1
- nagios-plugins-1.4.11
- nrpe-2.12
Install went smoothly, compiled without error.
Now trying to connect to my nagios server and get the following:
# /usr/local/nagios/libexec/check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.
Port appears to be listening:
[root at node2 ~]# netstat -at | grep nrpe
tcp 0 0 *:nrpe *:* LISTEN
[root at node2 ~]# netstat -plan | grep 5666
tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 22482/xinetd
Messages log shows the following:
2011-12-06T16:54:22.553812+00:00 node2 xinetd[2154]: libwrap refused connection to nrpe (libwrap=nrpe) from 127.0.0.1
2011-12-06T16:54:22.553834+00:00 node2 xinetd[2154]: FAIL: nrpe libwrap from=127.0.0.1
2011-12-06T16:54:22.554039+00:00 node2 xinetd[22482]: START: nrpe pid=2154 from=127.0.0.1
2011-12-06T16:54:22.554104+00:00 node2 xinetd[22482]: EXIT: nrpe status=0 pid=2154 duration=0(sec)
My /etc/xinetd.d/nrpe is configured correctly as I have got several other servers (same spec) working fine.
I get the following from my nagios server when trying to telnet the port:
[root at nagios_server]# telnet node2 5666
Trying 192.168.235.50...
Connected to ocmp2.brandtone.lan (192.168.235.50).
Escape character is '^]'.
Connection closed by foreign host.
R,
D.
____________________________________________________________________________________________________________________________________________________________________________________________
[Description: Description: Description: Description: Brandtone Side Bar logo cropped]
Dermot Duffy
IT Infrastructure Technical Lead
www.brandtone.ie<http://www.brandtone.ie/> | Dermot.Duffy at brandtone.ie<mailto:Dermot.Duffy at brandtone.ie>
M: +353 85 711 7530
Disclaimer
The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful.
BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111206/330ec4a6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4052 bytes
Desc: image001.jpg
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111206/330ec4a6/attachment.jpg>
-------------- next part --------------
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list