mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Merge pull request #6975 from sebastic/patch-1
Fix nested hostgroup example
This commit is contained in:
commit
c477018313
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user