Changing config files while nagios is running causes webinterface to mess up
Tom DE BLENDE (GCC)
Tom.DeBlende at dhl.com
Tue Jun 8 16:24:00 CEST 2004
Please send to the correct list. You will have more chance on succes
when mailing the nagios-users list.
http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false
Do we foresee a price for the 1000th person that asks this question?
Raphael Mueller wrote:
> Dear all,
>
> currently, I often change the configuration files of Nagios (Ver. 1.1)
> because we get a lot of new equipment these days.
> If I change the config files while Nagios is running, the Nagios web
> page starts to mess up, e.g. several devices disappear.
>
> My question: Am I doing something against the good practices if I edit
> the config files without stopping the Nagios service first?
>
> I don't understand too much about the architecture of Nagios, but
> according to chapter "Stopping And Restarting Nagios" of the online
> documentation
> http://nagios.sourceforge.net/docs/1_0/stoprestart.html
> Nagios should only check the config files and (re)read them if I
> start, restart or reload the service.
> So, maybe, it's just the web interface which gets confused about my
> config changes?
>
> Of course, I could use a second set of config files to work on. Then,
> I would write a script which checks the copied set of config files,
> stops the service, copies them to the directory used by Nagios and
> start the service again....
>
> Maybe, I'm just thinking to far or there is a know workaround... any
> help is appreciated.
>
> Kind Regards,
> Raphael
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June in Norway
> http://2004/guadec.org
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
More information about the Developers
mailing list