<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B> 
nagios-users-bounces@lists.sourceforge.net 
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Sukesh 
/IT/BLR/JIG/IN<BR><B>Sent:</B> 11 October 2007 10:48<BR><B>To:</B> 
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] nrpe 
problem<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=312304209-11102007><FONT face=Arial 
size=2>Hi</FONT></SPAN></DIV>
<DIV><SPAN class=312304209-11102007><FONT face=Arial size=2>Iam running 
nagios-3.0a4 and nrpe V2.8.1.iam not getting the result while running 
./check_nrpe -H <IP Address>. alreday no firewall is running behind those 
servers .tried to put '-t' option also but didn't work.Still iam able to telnet 
5666 with out any problem/so please help him for this.(iam able to access one 
server and client using nrpe daemon other could not)/</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV class=Section1>
<DIV>
<P class=MsoNormal 
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks,</SPAN><SPAN 
style="COLOR: navy"><o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Sukesh </SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">.<o:p></o:p></SPAN></P>
<DIV>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007><FONT color=#0000ff></FONT></SPAN></SPAN> </P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007><FONT color=#0000ff>Hi Sukesh,</FONT></SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007><FONT color=#0000ff>From reading your email i take it 
you can sucessfully connect to the remote NRPE host via 
telnet.</FONT></SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>   user<FONT color=#0000ff><A 
href="mailto:user2@usel">2@usel</A>:~> telnet host1.somedomain.com 
5666<BR>   Trying xxx.xxx.xxx.199...<BR>   Connected to 
host1.somedomain.com.<BR>   Escape character is 
'^]'.</FONT></SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007><FONT color=#0000ff>If this is correct then NRPE is 
accepting connections.</FONT></SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007><FONT color=#0000ff>You said in the previous mail that 
NRPE is working correctly on one machine but not on another. This sounds like 
you have some configuration differences between the two 
boxes.</FONT></SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>We really need to have more details to help you with 
this problem.</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>What OS is running on the two remote 
boxes?</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>Is it the same OS on both boxes.</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>Can you send snippets off your configuration THAT 
RELATE TO nrpe? NRPE.CFG. SERVICES.CFG CHECKCOMMAND.CFG etc</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>Have you carried out the following</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>Turn on debugging on the remote host running nrpe and 
see what comes out in the logs?</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>To do this edit your nrpe.cfg file and turn debugging 
on</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>debugging=1</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007>An example off NRPE debugging turned 
on</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007></SPAN></SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN 
class=185282312-11102007><FONT color=#0000ff>Oct 11 13:30:01 host1 
nrpe[3950]: Added command[check_dns1]=/usr/local/nagios/libexec/check_dns -H <A 
href="http://www.teeks.org">www.teeks.org</A> -w 1 -c 2<BR>Oct 11 
13:30:01 host1 nrpe[3950]: Added 
command[check_swap]=/usr/local/nagios/libexec/check_swap -w 30% -c 20%<BR>Oct 11 
13:30:01 host nrpe[3950]: Added 
command[check_ntp]=/usr/local/nagios/libexec/check_ntp -H xxx.xxx.xxx-t 
15<BR>Oct 11 13:30:01 host nrpe[3950]: INFO: SSL/TLS initialized. All 
network traffic will be encrypted.<BR>Oct 11 13:30:01 host nrpe[3950]: 
Handling the connection...</FONT></SPAN></SPAN></P>
<P><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></P>
<P class=MsoNormal><o:p> </o:p></P></DIV></DIV></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV></BODY></HTML>