Multiple hostgroup(s) membership

Marc Powell marc at ena.com
Mon Feb 9 14:13:17 CET 2009


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





More information about the Users mailing list