Re: [Nagios-devel] RE: [Nagios-users] reading configs

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] RE: [Nagios-users] reading configs

Post by Guest »

just figured that out this morning!

that makes sense. Thanks Subhendu!

later,
dean

-----Original Message-----
From: Subhendu Ghosh [mailto:sghosh@sghosh.org]
Sent: Sunday, October 20, 2002 8:15 PM
To: 'nagios-devel@lists.sourceforge.net'
Subject: Re: [Nagios-devel] RE: [Nagios-users] reading configs
real-time??



Nagios (monitoring daemon) never looks at the configs once started.

The CGIs however do read them when ever they start (which is everytime the
browser calls/refreshes a page).

The Fast CGI interface may be one way to alleviate the config parsing by
the CGI short of writing a servlet that keeps config state.

-sg


On Fri, 18 Oct 2002, Bishop, Dean wrote:

> 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@co.travis.tx.us]
> Sent: Friday, October 18, 2002 3:35 PM
> To: nagios-users@lists.sourceforge.net; dean.bishop@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" 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-users
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> Access Your PC Securely with GoToMyPC. Try Free Now
> https://www.gotomypc.com/s/OSND/DD
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>

--




-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Nagios-devel mailing list
Nagios-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/lis ... gios-devel





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ubhendu Ghosh [mailto:sghosh@sghosh.org
Locked