reading configs real-time??

Bishop, Dean dean.bishop at tcdsb.org
Fri Oct 18 22:24:29 CEST 2002


Good morning,

	If i am not mistaken Ethan is working on real-time updates for v2.0.

it doesn't really bother me that to restart nagios after making changes, but
it does suprise me that Nagios has to parse the config file from the hdd
while it is running.

i just assumed that the configs would be read into memory and then
information pulled from RAM rather than having to hit the hdd.

bon fin de semaine,
dean

-----Original Message-----
From: Nolan Martin [mailto:Nolan.Martin at co.travis.tx.us]
Sent: Friday, October 18, 2002 3:35 PM
To: nagios-users at lists.sourceforge.net; dean.bishop at tcdsb.org
Subject: Re: [Nagios-users] reading configs real-time??


I have experienced the same results.  It seems the only file - that I
have seen - that you can modify on the fly is the hostextinfo.cfg (for
icon associations).

The FAQs touch on this, in terms of adding hosts or services without
restarting.  That same authorization logic issue seems to apply to this
situation.  I agree though that it would be nice if you could make the
changes to the existing files while Nagios is still running.  

I plan to duplicate the existing files, make modifications, stop
Nagios, replace the files and reload Nagios.  I would think, however,
that you should be able to modify the files offline, replace the
existing files with the modified files, and simply reload  Nagios,
forcing it to pull in the new configuration information.  

Like you said though, not the most efficient process.  Perhaps other
suggestions?

Nolan

>>> "Bishop, Dean" <dean.bishop at tcdsb.org> 10/18/02 02:16PM >>>
Good morning,

	i was wondering if anyone else has experienced this and/or had
an
explaination.

When i open the config files and start modifying them while Nagios is
running, i often get errors on the web page stating that i don't have
permission to see the configs.  It seems like the files are open and
locked.

i was under the impression that the files were not read except during
the
startup.  Guess i am wrong.

so can i safely assume that the config's are not cached in memory at
startup
and that Nagios actually reads the configs to get information on what
to
check next??

this doesn't see very efficient.  Am i understanding wrong??

thanks,
dean


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD




More information about the Users mailing list