define hostgroup{
   hostgroup_name some_name
   members  some_host,another_one,!router
}

define service{
   use some-generic-template
   hostgroup_name some_name
   check_command check_something
   (...)
}

define host{
   use  some-generic-template
   host_name some_name
   hostgroup some_name
}

On Tue, Dec 8, 2009 at 10:36 AM, gmartin <gmar...@gmartin.org> wrote:

>
>
> On Mon, Dec 7, 2009 at 4:29 PM, <patrick.mor...@hp.com> wrote:
>
>> Hi Taylor!
>>
>> For what it's worth, Nagios *does* support this.  We routinely use
>> templates which assign a hostgroup to a host, and that hostgroup will
>> have a set of standard check for that type of host assigned to it.  When
>> a new host gets added, all it takes is a "use some_host_template" and
>> all the standard services we run on that type of host just show up.
>>
>
> Patrick, can you explain this a bit further or point me towards another
> post that does the same.  Sounds like an interesting feature I want to
> explore.
>
> Thanks
>
> --
> \\Greg
>
>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
>
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
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

Reply via email to