<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This config works on my box (RHEL3.0U2):</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;color:navy'>% cat /etc/xinetd.d/nrpe </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;color:navy'># default: on</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'># description: The rshd server is the
server for the rcmd(3) routine and, \</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>#       consequently, for the rsh(1)
program.  The server provides \</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>#       remote execution facilities with
authentication based on \</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>#       privileged port numbers from
trusted hosts.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>service nrpe</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>{</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>        flags           = REUSE</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>        disable = no</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>        socket_type             = stream</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>        wait                    = no</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>        user                    = nagios </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>        log_on_failure          += USERID</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>        server                  = 
/apps/nagios/nrpe/nrpe </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>        server_args             =  -c
/db/sysadmin/nagios/nrpe.cfg --inetd </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>}</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<div>

<p class=MsoNormal><strong><b><font size=1 color=navy face=Arial><span
style='font-size:7.5pt;font-family:Arial;color:navy'>Vincent Alloo</span></font></b></strong></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>TI France Design Systems Operations Manager</span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Europe, Middle East and Africa IT Services</span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
 7.5pt;font-family:Arial;color:navy'>Texas</span></font><font size=1
color=navy face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:navy'> Instruments France</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'> </span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>E-Mail: <a href="mailto:v-alloo@ti.com">v-alloo@ti.com</a></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Phone: +33 4 93 22 26 97</span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
  7.5pt;font-family:Arial;color:navy'>Mobile</span></font><font size=1
color=navy face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:navy'>: +33 6 82 13 00 80</span></font></p>

</div>

<div style='border:none;border-left:solid blue 1.5pt;padding:0mm 0mm 0mm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Matt Wells<br>
<b><span style='font-weight:bold'>Sent:</span></b> Sunday, September 18, 2005
12:38 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Jonathan Carpenter;
Nagios-Users-List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Nagios-users] NRPE</span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I never got it working in xinet.d I ended up just tossing it in as a
daemon because it was so much easier.<br>
<br>
/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d<br>
<br>
I'm still getting the error for SSL though.. can not complete handshake.  <br>
<br>
</span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>----- Original Message -----<br>
<b><span style='font-weight:bold'>Subject: </span></b>[Nagios-users] NRPE<br>
<b><span style='font-weight:bold'>From:  </span></b>Jonathan Carpenter
<jonathan.carpenter@gmail.com><br>
<b><span style='font-weight:bold'>To: </span></b>"Nagios-Users-List"
<nagios-users@lists.sourceforge.net><br>
<b><span style='font-weight:bold'>Date: </span></b>17-09-2005 13:26<br>
<br>
</span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I have installed nagios and configured nagios on one server to monitor
several servers with the check_ping plugin. Everything works great now I have
installed NRPE on one of the remote servers running Fedora 4. I have edited
/etc/services and added the following </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>nrpe     5666/tcp     # NRPE</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>and created a file in /etc/xinetd.d/ called nrpe the contents in it are</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> # default: on<br>
 # description: NRPE<br>
 service nrpe<br>
 {<br>
       
 flags           = REUSE<br>
        
socket_type     =
stream        <br>
       
 wait            =
no<br>
        
user           
= nagios<br>
         server         
= /home/nagios/nrpe<br>
        
server_args     = -c /home/nagios/nrpe --inetd<br>
         log_on_failure  += USERID<br>
        
disable         = no<br>
  only_from       = <a
href="http://1.2.3.4"> 1.2.3.4</a> <-- ip to nagios server<br>
 }<br clear=all>
</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>  When I run /etc/rc.d/init.d/xinetd restart I get these errors in
/var/log/messages</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Sep 17 02:56:19 db1 xinetd: xinetd startup succeeded<br>
Sep 17 02:56:19 db1 xinetd[18797]: bind failed (Address already in use (errno =
98)). service = nrpe<br>
Sep 17 02:56:19 db1 xinetd[18797]: Service nrpe failed to start and is
deactivated. <br>
Sep 17 02:56:19 db1 xinetd[18797]: xinetd Version 2.3.13 started with libwrap
loadavg options compiled in.<br>
Sep 17 02:56:19 db1 xinetd[18797]: Started working: 0 available services<br>
 </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>   Any help would be greatly appreciated.<br>
-- <br>
Jonathan Carpenter</span></font></p>

</div>

</div>

</div>

</body>

</html>