NRPE agent on linux issue after reboot ...
Mad Unix
madunix at gmail.com
Thu Jan 10 07:28:32 CET 2008
Check iptables
ACCEPT tcp -- anywhere anywhere state NEW tcp
dpt:nrpe
Check netstat
----------
[root at linux1 libexec]# netstat -at | grep nrpe
tcp 0 0 *:nrpe *:*
LISTEN
On 1/10/08, Mad Unix <madunix at gmail.com> wrote:
>
> try to reconfugure the xinetd service,
> my cat /etc/xinetd.d/nrpe
>
> # default: on
> # description: NRPE (Nagios Remote Plugin Executor)
> service nrpe
> {
> flags = REUSE
> socket_type = stream
> port = 5666
> wait = no
> user = nagios
> group = nagios
> server = /usr/local/nagios/bin/nrpe
> server_args = -c /usr/local/nagios/etc/ nrpe.cfg --inetd
> log_on_failure += USERID
> disable = no
> only_from = x.x.x.x <http://127.0.0.1/>
> }
>
>
>
> Madunix
>
>
> On 1/10/08, Justin Hennessy <jhennessy at compit.com.au> wrote:
> >
> > Hi All,
> >
> > I am having an issue with the NRPE agent on linux servers (happens on
> > all flavours I have tried).
> >
> > I am using TCP Wrappers to implement it. When the server is rebooted the
> > port for NRPE (5666) isn't available until I manually restart it.
> >
> > Here is the config I am using for the nrpe xinetd file:
> >
> > # default: on
> > # description: NRPE (Nagios Remote Plugin Executor)
> > service nrpe
> > {
> > flags = REUSE
> > socket_type = stream
> > port = 5666
> > wait = no
> > user = nagios
> > group = nagios
> > server = /usr/local/nagios/bin/nrpe
> > server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
> > log_on_failure += USERID
> > disable = no
> > only_from = xxx.xxx.xxx.xxx
> > }
> >
> >
> > Any ideas?
> >
> > Thanks in advance.
> >
> > Justin
> >
> >
> > -------------------------------------------------------------------------
> >
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> >
> > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
>
>
> --
> madunix
--
madunix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080110/6a2966a6/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list