On 05/01/2011 12:39, Jim Avery wrote: > On 5 January 2011 10:22, Mister IT Guru<[email protected]> wrote: >> I've wondered if nagios can export the configuration it currently has in >> one big file? I'm assuming that it reads in all these configuration >> files, it should be able to spit out that same data in some sort of >> structured form? >> >> It's just that I feel that nagios, (and not just nagios mind you, a lot >> of open source software that read in formatted text based config files), >> is such a mature project, that surly, there should be a way to export >> the configuration to a txt file at least, so that I can see what nagios >> 'sees' >> >> It would also be pretty cool if nagios could export the config without >> hardcoded variables, so people can paste what nagios sees to the list >> for example, and have people help with thier config with out fear of >> exposing unique info like IP addresses, host name and such, that are in >> out text based configs - I'm always worried when posting my configs for >> a lot of apps, apache. bacula, nagios etc. So it would be nice if it did >> exist :) > You'll find the Nagios config in one big file in > /usr/local/nagios/var/objects.cache > > hth, > > Jim Thanks Jim! I have wondered about that file a few times, and never checked it out, I believe I will do now! Ahh... the power of the open source community!
------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list [email protected] 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
