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
http://magoazul.com
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]