Yeah, very possible - here is how I do it

define hostgroup{
        hostgroup_name  GIX
        alias           GIX
        members         core,bhmas...@gix,bhsl...@kokomlemle2gix,rou...@gix
        }


On Mon, Feb 9, 2009 at 1:13 PM, Marc Powell <m...@ena.com> wrote:

>
> On Feb 9, 2009, at 5:56 AM, Axel Schmalowsky wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hello list,
> >
> > is it possible to assign a host to multiple hostgroups? I need some
> > hosts to be a subset (own hostgroup) of an existing hostgroup.
>
> Yes, either within the host definition or by adding it to multiple
> hostgroup definitions.
>
> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host
>
> "hostgroups:    This directive is used to identify the short name(s) of
> the hostgroup(s) that the host belongs to. Multiple hostgroups should
> be separated by commas. This directive may be used as an alternative
> to (or in addition to) using the members directive in hostgroup
> definitions. "
>
> --
> Marc
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> _______________________________________________
> 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
>



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdeha...@gmail.com
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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