> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Wu, Shirley > Sent: Wednesday, March 29, 2006 2:58 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Reload configuration data without restart > > Hi all, > > Is there a way to force Nagios to reload the configuration data without > restarting the process and re-initializing the scheduling queue? In our > environment, we are constantly adding and deleting hosts and services > every day.
http://nagios.sourceforge.net/docs/2_0/configmain.html#use_retained_sche duling_info I don't use it but it appears that you must have host/service retention enabled as well, including adding the retain_status_information and retain_nonstatus_information to your host/service definitions or templates. Using '/etc/init.d/nagios reload' or sending a HUP signal to the master nagios daemon will cause it to reload the config w/o restarting. With the settings above enabled then it should retain the scheduling queue and pre-reload status information for hosts and services. Personally, we just run a config verification (nagios -v) when adding hosts and restart each night to have the changes enabled. -- 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@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