Preflight before restart

Matthew Kent mkent at magoazul.com
Thu Nov 4 15:25:44 CET 2004


On Thu, 2004-11-04 at 19:38, Jason Martin wrote:
> On Thu, Nov 04, 2004 at 12:04:20PM +0000, Matthew Kent wrote:
> > 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.
> It doesn't work when someone clicks the 'restart nagios' button
> on the GUI nor when someone manually enters the external
> command. Since Nagios has the facility to restart gracefully, it
> just makes sense that it do some sanity checks beforehand.
> 
> -Jason Martin

Yeah you're right. I forgot that button was even there, I've never had
occasion to use it. 

Unless you're already working on it, I can take a stab at making it
config check first and print out a log message if it's invalid.
-- 
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