mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
3fde78f2b3
commit
928bf63d7f
@ -45,7 +45,7 @@ object HostGroup "all-hosts" {
|
|||||||
assign where true
|
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) {
|
for (host_type in host_types) {
|
||||||
object HostGroup "all-" + host_type use (host_type) {
|
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
|
// Servicegroups
|
||||||
for (service_type in service_types) {
|
for (service_type in service_types) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user