NRPE SSL fails on Mac OSXS

Randall Perry listsub at systame.com
Thu Mar 30 04:39:43 CEST 2006


Forgot to mention some compiler warnings:

[xserve1:/src/nagios/nrpe-2.4] randy% make all
cd ./src/; make ; cd ..
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include 
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib  -lssl 
-lcrypto  -lwrap
/usr/bin/ld: warning multiple definitions of symbol _allow_severity
/var/tmp//ccgflxhb.o definition of _allow_severity in section 
(__DATA,__data)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) 
definition of _allow_severity
/usr/bin/ld: warning multiple definitions of symbol _main
/var/tmp//ccgflxhb.o definition of _main in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) 
definition of _main
/usr/bin/ld: warning multiple definitions of symbol _deny_severity
/var/tmp//ccgflxhb.o definition of _deny_severity in section (__DATA,__data)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) 
definition of _deny_severity
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include 
-DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -L/usr/local/ssl/lib 
  -lssl -lcrypto


> Got Nagios monitor running fine on it's main box. But, am having 
> troubles getting nrpe_check command to talk to a remote host.
> 
> I've read the FAQ on this issue and verified that everything is kosher.
>    http://www.nagios.org/faqs/viewfaq.php?faq_id=191
> 
> But I get this from nrpe (with debugging on):
>    Error: Could not complete SSL handshake. 2\n
> 
> And this from check_nrpe:
>    CHECK_NRPE: Error - Could not complete SSL handshake.
> 
> Also tried running both without ssl. nrpe crashed on the remote machine, 
> while nagios host gave error:
>    CHECK_NRPE: Socket timeout after 10 seconds
> 
> 
> Anyone got nrpe working on Mac OSX?




-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location/Leasing
QuickTime Streaming
Mac Consulting/Sales

http://www.systame.com/





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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