need expert advice/suggestions

Marcel mitsuto at gmail.com
Tue Dec 8 17:07:31 CET 2009


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 <gmartin at gmartin.org> wrote:

>
>
> On Mon, Dec 7, 2009 at 4:29 PM, <patrick.morris at 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091208/d04583d2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
-------------- next part --------------
_______________________________________________
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