CHECK_NRPE: Error - Could not complete SSL handshake.

Steve Shipway s.shipway at auckland.ac.nz
Thu Jan 27 22:15:52 CET 2005


>Am Mittwoch, 26. Januar 2005 14:54 schrieb Martin Mielke:
>>    a) NRPE being launched from the inetd:
>>      nrpe    stream  tcp     nowait  nagios 
>/usr/local/nagios/bin/nrpe -c
>> /usr/local/nagios/etc/nrpe.cfg -i
>>     This produces the well-known error message "Could not 
>complete SSL 
>> handshake." on the server side
>>
>>    b) NRPE being launched as daemon:
>>      /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
>>     This produces errors like "Could not read request from client, 
>> bailing out..." on the client side.


These should work, provided your server has the necessary SSL libraries.
There are two possibilities --
1. You compiled the nrpe agent without SSL support (I have had to do this
under AIX)
2. It is compiled with SSL support, but it doesn't have the libraries
available (I occasionally have this under Solaris)

In both cases, you can work without ssl by using -n as an option to BOTH
nrpe and check_nrpe.  Why this is not documented, I don't know.

If it is (2), then install the SSL libraries and it should work.

Try running nrpe -I -c ... from the command line, and see if it produces any
helpful error messages like 'libraries not found', or if nrpe -v tells you
'SSL available' or not.

Steve



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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