Multiple hostgroup(s) membership

Alex Dehaini alexdehaini at gmail.com
Mon Feb 9 14:17:17 CET 2009


Yeah, very possible - here is how I do it

define hostgroup{
        hostgroup_name  GIX
        alias           GIX
        members         core,bhmaster at gix,bhslave at kokomlemle2gix,router at gix
        }


On Mon, Feb 9, 2009 at 1:13 PM, Marc Powell <marc at 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 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
>



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdehaini at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090209/9a22db50/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- 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