Feature request...
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Fri Sep 27 16:55:06 CEST 2002
http://your-nagios-server/nagios/docs/templatetricks.html
[quote]
All Hosts In Multiple Hostgroups: If you want to create identical services
that are assigned to all hosts in one or more hostgroups, you can do so by
creating a single service definition. How? The hostgroup_name directive
allows you to specify the name of one or more hostgroups that the service
should be created for:
define service{
hostgroup_name HOSTGROUP1,HOSTGROUP2,...,HOSTGROUPN
service_description SOMESERVICE
other service directives ...
}
The definition above would create a service called SOMESERVICE on all hosts
that are members of hostgroups HOSTGROUP1 through HOSTGROUPN. All the
instances of the SOMESERVICE service would be identical (i.e. have the same
check command, max check attempts, notification period, etc.).
[end quote]
jc
> -----Original Message-----
> From: Fredrik Wänglund [mailto:Fredrik.Wanglund at datavis.se]
> Sent: Friday, September 27, 2002 1:42 AM
> To: Russell Scibetti
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Feature request...
>
>
> Great, but this is not in the docs...
>
>
>
> /FredrikW
>
>
> -----Original Message-----
> From: Russell Scibetti [mailto:russell at quadrix.com]
> Sent: Thu 26-Sep-02 15:41
> To: Fredrik Wänglund
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Feature request...
>
> You can do this already.
>
> define service{
> service_description HTTP
> hostgroup_name my_web_servers
> contact_groups admins
> .....
> }
>
> It works beautifully.
>
> -Russell
>
> Fredrik Wänglund wrote:
>
> >Shouldn't everything be a little bit easier if you cold
> assign a host-group to a service instead of only hosts?
> >I have some standard-services that should be run an all
> linux-boxes, and it would be great if I did not have to add
> every new host to all those service-definitions, but only to
> the host-group.
> >
> >
> >
> >
> >/FredrikW
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf
> >_______________________________________________
> >Nagios-users mailing list
> >Nagios-users at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> >
>
> --
> Russell Scibetti
> Quadrix Solutions, Inc.
> http://www.quadrix.com
> (732) 235-2335, ext. 7038
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list