Plugin that will test nagios.cfg

Marc Powell marc at ena.com
Fri Jun 22 05:40:02 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Thomas Guyot-Sionnest
> Sent: Thursday, June 21, 2007 10:13 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Plugin that will test nagios.cfg
> 
> On 21/06/07 05:20 PM, Patrick Morris wrote:
> > Arno Lehmann schrieb am Donnerstag, den 21. Juni 2007:
> >


> >
> > Nagios will never crash because of a broken config if it's running;
> > it just won't load that config.  Checking from a cron job works,
too,
> > but there's no reason Nagios can't also check to see if the on-disk
> > config is valid.
> 
> Not true. I noticed more than once that nagios would bail out on
> restarts with broken configs (with versions ranging between 2.0 beta
to
> 2.4) and I just verified with v2.7.

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.

--
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