<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV>I have two servers I am monitoring with NRPE 2.0. One works, one does not
and I'm running out of ideas of configuration settings that must not be the same
to have this happen:<BR><BR>root@nagioshost # ./check_nrpe -H servera -c
check_apache<BR>OK - 12 processes running with UID = 155
(apache)<BR>root@nagioshost # ./check_nrpe -H serverb -c
check_apache<BR>CHECK_NRPE: Error - Could not complete SSL
handshake.<BR><BR>nagioshost, servera and serverb are all Solaris
9.<BR>nagioshost is running nagios 1.2, check_nrpe 2.0<BR>I have confirmed with
ldd that NRPE is compiled with SSL support.<BR>servera & serverb both have
copies of the same NRPE 2.0 binary.<BR>servera & serverb both have the SSL
libraries that the NRPE binary was compiled against<BR>servera & serverb
both have /usr/local/nagios/etc/nrpe.cfg owned by nagios:nagios and chmod'd
644<BR>servera & serverb both have "nrpe 5666/tcp #NRPE" in
/etc/services<BR>servera & serverb both have "*.nrpe *.* 0 0 49152 0 LISTEN"
in netstat -a|grep nrpe<BR>servera & serverb both have "nrpe stream tcp
nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/nrpe -c
/usr/local/nagios/etc/nrpe.cfg -i" in /etc/inetd.conf<BR><BR>Here's the
difference:<BR>if I telnet from nagioshost to servera on port 5666 (from
nrpe.cfg) I can count to 20 and when I enter some text followed by enter,
servera closes the connection<BR>if I telnet from nagioshost to serverb on port
5666 (from nrpe.cfg) I can only count to 5 before serverb closes the
connection. </DIV>
<DIV><SPAN class=289022618-30052006>i</SPAN>f I repeat the task from nagioshost
to serverb and start typing as soon as prompted serverb will close the
connection in the middle of typing. <BR><BR>So i think what is happening is that
the connection is closing before the SSL handshake is completed or the NRPE
handoff to a local command. </DIV>
<DIV>How do I figure out what in serverb is closing the connection so
fast?</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana>Scott Lundgren</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#008000 size=2>ITS - Web
Services</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#008000 size=2>UNC at
Charlotte</FONT></DIV>
<DIV align=left><FONT face=Verdana size=2><A
href="http://www.uncc.edu/">http://www.uncc.edu</A></FONT></DIV>
<DIV align=left><STRONG><FONT face=Verdana color=#008000
size=2></FONT></STRONG> </DIV>
<DIV> </DIV></BODY></HTML>