<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Morris, Patrick wrote:
<blockquote
cite="mid:20090714192605.GQ2587@bakgwai.americas.hpqcorp.net"
type="cite">
<pre wrap="">Hi Dale!
On Tue, 14 Jul 2009, Dale J. Chatham wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I don't seem to be able to do this:
# vim:ts=4:ai:expandtabs
#
#
define hostgroup {
hostgroup_name all-hst
alias all-hst
members *
}
# vim:ts=4:ai:expandtabs
#
#
define hostgroup {
hostgroup_name basic_svc_snmp-svc
alias basic_svc_snmp-svc
hostgroup_members all-hst,!basic_svc_ns-svc
}
If it is not possible at this point, I'd like to suggest it as a
somewhat obvious extension to hostgroup definitions.
</pre>
</blockquote>
<pre wrap=""><!---->
It's not possible now -- members of hostgroups need to be hosts, and
can't be other hostgroups.
</pre>
</blockquote>
According to
<a class="moz-txt-link-freetext" href="http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup">http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup</a>,
you can have "sub" hostgroups. So in theory he should be able to
specify a hostgroup that contains every host, subtracting another group.<br>
<br>
-Gius<br>
</body>
</html>