Preflight before restart

Matthew Kent mkent at magoazul.com
Thu Nov 4 13:04:20 CET 2004


On Thu, 2004-11-04 at 17:16, Jason Martin wrote:
> One vulnerablility I've noticed in Nagios is that restarting via a
> HUP or a external command can be dangerous; if the 'new'
> configuration is broken in any way Nagios will die.  It occurs
> to me that it would be very handy if Nagios performed a
> preflight on the new configuration before attempting to load it
> as the 'live' config. That way Nagios won't go down if the new
> config isn't valid.
> 
> Thanks,
> -Jason Martin

The default init script that ships with nagios calls a preflight check
when doing a reload before sending a HUP. Seems like a reasonable
solution to me.
-- 
Matthew Kent <mkent at magoazul.com>
http://magoazul.com



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click




More information about the Developers mailing list