/etc/init.d/nagios reload

Jason Lancaster jlancaster at affinity.com
Tue May 6 15:32:16 CEST 2003


You can hardcode the path to the plugin in the checkcommands.cfg file. This
will fix the error 127 and make it run properly (or at least as properly as
it can with a reload) ...

-Jason
----- Original Message ----- 
From: "Chris Wilson" <chris at netservers.co.uk>
To: "Devon Harding - GTHLA" <DHarding at gilatla.com>
Cc: <Nagios-users at lists.sourceforge.net>
Sent: Tuesday, May 06, 2003 7:06
Subject: Re: [Nagios-users] /etc/init.d/nagios reload


> Hi Devon,
>
> > When I run reload a couple of times (after editing the .cfg files), All
> > services fail with 'UNDREACHABLE' status.  I then have to manually stop
and
> > start the process for it to work again?   Why is this?
>
> I've seen this too. Apparently "/etc/init.d/nagios reload" is broken,
> sending a SIGHUP to the nagios process will break it too. After that it
> fails to execute any service checks, giving the error for each one:
>
> Warning: Return code of 127 for check of service 'web' on host
> 'foo.example.com' was out of bounds. Make sure the plugin
> you're trying to run actually exists.
>
> If you do a "nagios restart" instead of "reload", then everything works.
>
> Cheers, Chris.
> -- 
>    ___ __     _
>  / __// / ,__(_)_  | Chris Wilson -- UNIX Firewall Lead Developer |
> / (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
> \ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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