Re: [Nagios-users] Following Object Inheritance

2011-11-06 Thread Ian Petts
 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.

 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.

Perfect! Thank you very much.

Cheers,
Ian.

-- 
To err is human; to forgive, beyond the scope of the Operating System.

--
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


Re: [Nagios-users] Following Object Inheritance

2011-11-04 Thread Michael Friedrich
Ian Petts 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?

nagios.cfg:objects.cache


 --
 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


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  michael.friedr...@univie.ac.at
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:+43 1 4277 14338
web:http://www.univie.ac.at/zid
http://www.aco.net

Icinga Core  IDOUtils Developer
http://www.icinga.org


--
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


Re: [Nagios-users] Following Object Inheritance

2011-11-04 Thread mail
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


[Nagios-users] Following Object Inheritance

2011-11-03 Thread Ian Petts
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?

--
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