I did not find anything helpful so here is my (quite) classical issue :
I’m trying to configure NRPE plugin between two solaris servers (one is the monitoring server, one is the remote host)
I’ve downloaded and compiled NRPE 2.9 with SSL
/usr/local/nagios/bin# ldd nrpe
libssl.so.0.9.7 => /usr/local/lib/libssl.so.0.9.7 libcrypto.so.0.9.7 => /usr/local/lib/libcrypto.so.0.9.7 libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
Nrpe daemon is started by inetd on the remote host, here is the line in inetd.conf :
Nagios NRPE Daemon
nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i
When I try to talk to it from the other server with the proper binary (2.9) (as mentioned in documentation) :
./check_nrpe -H <remote_host>
CHECK_NRPE: Error - Could not complete SSL handshake.
When I try to disable SSL (in inetd.conf and when I run the client side command) I got the following :
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
My /var/log/syslog doesn’t record anything.
Any idea ?