On Fri, Nov 4, 2011 at 3:01 AM, Ian Petts <ipe...@gmail.com> wrote: > I've inherited a Nagios installation that's not well documented and > has quite a confusing setup. > > I'm trying to work out what contacts/contactgroups are notified for a > set of given services, > but the inheritance is driving me crazy. > > Is there a utility that can parse the config files and show me what > each object looks like > after it's been expanded?
For seeing the setup and what service has what contacts I find the the gui's "View Config" option quite useful. There was a patch I think made in in to the 3.3.1 release that would also expand all the variables $USRE1$ etc. though I think that is an option in nagios.conf to turn it on. The "objects.cache" is also very usefull though can be daunting to navagate, to find its location look for "object_cache_file=" in your nagios.conf. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > 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 > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ 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