parent
3fde78f2b3
commit
928bf63d7f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue