Fix nested hostgroup example

In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.
This commit is contained in:
Bas Couwenberg 2019-02-26 08:49:36 +01:00 committed by GitHub
parent cf0209efd2
commit 8d3c8fd107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,11 +116,11 @@ This can be migrated to Icinga 2 and [using group assign](17-language-reference.
object HostGroup "hg1" {
groups = [ "hg2" ]
assign where host.name in [ "host1", "host2" ]
}
object HostGroup "hg2" {
groups = [ "hg1" ]
assign where host.name == "host3"
}