Plugin that will test nagios.cfg
Marc Powell
marc at ena.com
Fri Jun 22 23:03:55 CEST 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij
> Sent: Friday, June 22, 2007 3:30 PM
> To: Nagios Users mailinglist
> Subject: Re: [Nagios-users] Plugin that will test nagios.cfg
>
> On Thu, 21 Jun 2007, Marc Powell wrote:
>
> > If you can reliably reproduce this with a '/etc/init.d/nagios
reload' or
> > 'restart' then you should report it as a bug. Nagios is meant to not
> > crash or bail a running copy if the new config is bad.
>
> If nagios can not start due to a broken config then a restart WILL
die. A
> restart is nothing short of a stop and start of the program.
Then you are not using the distribution init script and you must include
that logic yourself. Read it or read back in this thread. The only
possible way it should die is if nagios -v didn't detect a fatal error.
That would be a bug.
If a person doesn't use the distribution init script then they are
responsible for ensuring that the config is good before restart.
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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