Update Icinga 2 config for 2.3

refs #8074
This commit is contained in:
Gunnar Beutner 2014-12-15 16:09:39 +01:00
parent 3fde78f2b3
commit 928bf63d7f
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ object HostGroup "all-hosts" {
assign where true
}
local host_types = ["ok", "random", "down", "up", "unreachable", "pending"]
var host_types = ["ok", "random", "down", "up", "unreachable", "pending"]
for (host_type in host_types) {
object HostGroup "all-" + host_type use (host_type) {
@ -54,7 +54,7 @@ for (host_type in host_types) {
}
}
local service_types = ["ok", "warning", "critical", "unknown", "flapping", "pending"]
var service_types = ["ok", "warning", "critical", "unknown", "flapping", "pending"]
// Servicegroups
for (service_type in service_types) {