Reload configuration data without restart

Marc Powell marc at ena.com
Thu Mar 30 17:18:48 CEST 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Robert Hajime Lanning
> Sent: Wednesday, March 29, 2006 7:21 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Reload configuration data without restart
> 
> 
> <quote who="Shirley Wu">
> > I checked the /etc/init.d/nagios script. The reload option actually
> >  does the "killproc_nagios nagios -HUP".
> >
> > It seems that there's no way to get around it.
> 
> Wrong.  The "-HUP" does what has been asked.  It sends the HUP
> POSIX Signal to the Nagios process.  Upon receiving this signal
> the Nagios process re-examines it's configuration files.

Wrong. The OP's request was for a reload without resetting the
scheduling queue. A HUP resets the queue. Try it, I did. Just sending a
HUP is not sufficient to resolve her request.
 
Per my original response, it looks possible to reload without
rescheduling via the use_retained_scheduling_info config option combined
with the HUP.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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