<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=804190209-22112002><FONT face=Arial color=#0000ff size=2>Thanks
Jim for your help, it's works fine for me now ...</FONT></SPAN></DIV>
<DIV><SPAN class=804190209-22112002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=804190209-22112002><FONT face=Arial color=#0000ff
size=2>Philippe.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT face=Tahoma
size=2>-----Message d'origine-----<BR><B>De :</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>De la part de</B>
Carroll, Jim P [Contractor]<BR><B>Envoyé :</B> jeudi 21 novembre 2002
21:21<BR><B>À :</B> 'Philippe Leroux'; 'Peter Pan';
Nagios-users@lists.sourceforge.net<BR><B>Objet :</B> RE: RE :
[Nagios-users] NRPE daemon problem<BR><BR></FONT></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>Then do the following test:</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>On your client host, edit nrpe.cfg to include the following test
definition:</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2><FONT face="Courier New" color=#000000>command[check_nrpe]=echo "NRPE
is alive"</FONT><BR></FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>(Since you're running NRPE from xinetd, you won't need to restart
anything.)</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>From your Nagios host, run the following command (from wherever you
have check_nrpe installed):</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Courier New"
size=2>./check_nrpe <hostname> -c check_nrpe</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>where <hostname> is the name of your client host. You
should get output like the following:</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Courier New" size=2>NRPE is
alive</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>If you do not, then you have something fundamentally misconfigured in
NRPE. Go back and check the README.</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>If you *do* get the above response, then try running ./check_nrpe
again, but this time specify the name of one of your other tokens that you've
defined in nrpe.cfg, such as (and I'm guessing as to what you've got defined),
check_users, or check_load, or check_zombie_procs. Here are those 3
definitions from *my* nrpe.cfg (just so you have something to compare
against):</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2><FONT face="Courier New"
color=#000000>command[check_users]=/home/nagios/libexec/check_users 80
100<BR>command[check_load]=/home/nagios/libexec/check_load 5 10 15 20 25
30<BR>command[check_zombie_procs]=/home/nagios/libexec/check_procs 5 10
Z</FONT><BR></FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>Once you've done these checks, share the results with the mailing
list.</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>If those checks work from the command line, then it's time to go back
to your Nagios config files and make sure you have everything defined
correctly.</FONT></SPAN></DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2>jc</DIV></FONT></SPAN>
<DIV><SPAN class=905191320-21112002><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Philippe Leroux
[mailto:pleroux@nocout.net]<BR><B>Sent:</B> Thursday, November 21, 2002
12:41 PM<BR><B>To:</B> Carroll, Jim P [Contractor]; 'Peter Pan';
Nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE : [Nagios-users]
NRPE daemon problem<BR><BR></FONT></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2>Hello i'am a newbie on nagios,</FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff size=2>I
meet with the same problem than Peter i think, my status.log give
me the following</FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2>SERVICE;NOCOUT02lx;UPTIME;UNKNOWN;3/3;HARD;1037902698;1037902998;ACTIVE;1;1;1;1037894426;0;UNKNOWN;120;16890;0;64286;1037901746;6;1;62;1;1;0;0.00;0;1;1;1;CHECK_NRPE:
Error receiving data from host.<BR>[1037902811]</FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff size=2>i
succesfully connect to tcp 5666 port </FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2>when i do # nmap -p 5666 localhost i get port
=open and service =unknow !</FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2>nrpe seems to be started under xinetd (chkconfig)</FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff size=2>i
add my nagios hostadress in the hosts.allow</FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff size=2>in
fact i follow the README file ..</FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2>thanks for your help </FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2>Philippe L</FONT></SPAN></DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=926372418-21112002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=926372418-21112002></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT
face=Tahoma size=2>-----Message d'origine-----<BR><B>De :</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>De la part de</B>
Carroll, Jim P [Contractor]<BR><B>Envoyé :</B> mercredi 20 novembre
2002 23:06<BR><B>À :</B> 'Peter Pan';
Nagios-users@lists.sourceforge.net<BR><B>Objet :</B> RE:
[Nagios-users] NRPE daemon problem<BR><BR></FONT></DIV>
<DIV><SPAN class=925060522-20112002><FONT face="Comic Sans MS"
color=#000080 size=2>Can you connect to port 5666 on the destination
host? E.g., "telnet remotehost 5666"</FONT></SPAN></DIV>
<DIV><SPAN class=925060522-20112002><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=925060522-20112002><FONT face="Comic Sans MS"
color=#000080 size=2>If that works, then try running the check_nrpe
command on the Netsaint (Nagios?) host's command line.</FONT></SPAN></DIV>
<DIV><SPAN class=925060522-20112002><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=925060522-20112002><FONT face="Comic Sans MS"
color=#000080 size=2>Let us know how that goes.</FONT></SPAN></DIV>
<DIV><SPAN class=925060522-20112002><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=925060522-20112002><FONT face="Comic Sans MS"
color=#000080 size=2>jc</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Peter Pan
[mailto:peterpan@pvamu.edu]<BR><B>Sent:</B> Wednesday, November 20, 2002
3:17 PM<BR><B>To:</B>
Nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users]
NRPE daemon problem<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I execute all of these steps. I download
the tarball and ./confgure and make all.</FONT></DIV>
<DIV><FONT face=Arial size=2>I put the check_nrpe plugin on the netsaint
host. On the remote machine I add the appropraite lines to
/etc/services and add the appropriate file to xinetd. I do
everything the install/readme tells me, and yet I still get a no-output
response on my linux machine. Any ideas on what I am missing would
really help, thanks
alot.</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>