<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d">try to reconfugure the xinetd service, </span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d">my   cat /etc/xinetd.d/<span class="st" id="st" name="st">nrpe</span></span></div>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span></p>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"># default: on</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d"># description: <span class="st" id="st" name="st">NRPE</span> (Nagios Remote Plugin Executor)</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">service <span class="st" id="st" name="st">nrpe</span></span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><span class="st" name="st"></span></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">{</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        flags           = REUSE</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        socket_type     = stream    </span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        port            = 5666    </span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        wait            = no</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        user            = nagios</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        group           = nagios</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        server          = /usr/local/nagios/bin/<span class="st" id="st" name="st">nrpe</span></span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><span class="st" name="st"></span></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        server_args     = -c /usr/local/nagios/etc/<span class="st" id="st" name="st">
nrpe</span>.cfg --inetd</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        log_on_failure  += USERID</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        disable         = no</span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">        only_from       = <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">
x.x.x.x</a>       </span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">}</span></div>
<p> </p>
<div> </div>
<div>Madunix<br><br> </div>
<div><span class="gmail_quote">On 1/10/08, <b class="gmail_sendername">Justin Hennessy</b> <<a href="mailto:jhennessy@compit.com.au">jhennessy@compit.com.au</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi All,<br><br>I am having an issue with the NRPE agent on linux servers (happens on<br>all flavours I have tried).
<br><br>I am using TCP Wrappers to implement it. When the server is rebooted the<br>port for NRPE (5666) isn't available until I manually restart it.<br><br>Here is the config I am using for the nrpe xinetd file:<br><br>
# default: on<br># description: NRPE (Nagios Remote Plugin Executor)<br>service nrpe<br>{<br>       flags           = REUSE<br>       socket_type     = stream<br>       port            = 5666<br>       wait            = no
<br>       user            = nagios<br>       group           = nagios<br>       server          = /usr/local/nagios/bin/nrpe<br>       server_args     = -c /usr/local/nagios/etc/nrpe.cfg --inetd<br>       log_on_failure  += USERID
<br>       disable         = no<br>       only_from       = xxx.xxx.xxx.xxx<br>}<br><br><br>Any ideas?<br><br>Thanks in advance.<br><br>Justin<br><br><br>-------------------------------------------------------------------------
<br>Check out the new SourceForge.net Marketplace.<br>It's the best place to buy or sell services for<br>just about anything Open Source.<br><a href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace">
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net
</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>madunix