Inheritance and templating question

Marc Powell marc at ena.com
Fri Jun 16 02:25:46 CEST 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Elizabeth Genco Purvis
> Sent: Thursday, June 15, 2006 7:01 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Inheritance and templating question
> 
> 
> 
> > -----Original Message-----
> > From: Morris, Patrick [mailto:patrick.morris at hp.com]
> > Sent: Friday, June 09, 2006 12:36 PM
> > To: Elizabeth Genco; nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] Inheritance and templating question
> >
> > Create a hostgroup and apply the services to that group.  Then all
you
> > need to do is make sure new hosts belong to the right hostgroup.
> 
> Would you mind giving me an example of this?  I'm not sure exactly
what
> you mean.... according to the documentation:
> 
> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup

It's considered a 'trick' because it's a side-effect of the template
inheritance --

http://nagios.sourceforge.net/docs/2_0/templatetricks.html

--
Marc


_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list