mirror of https://github.com/Icinga/icinga2.git
parent
8612384dea
commit
867ed87892
|
@ -39,6 +39,22 @@ apply Service "ping6" {
|
||||||
assign where host.address6
|
assign where host.address6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apply Service for (disk => config in host.vars.disks) {
|
||||||
|
import "generic-service"
|
||||||
|
|
||||||
|
check_command = "disk-windows"
|
||||||
|
|
||||||
|
vars += config
|
||||||
|
}
|
||||||
|
|
||||||
|
apply Service "icinga" {
|
||||||
|
import "generic-service"
|
||||||
|
|
||||||
|
check_command = "icinga"
|
||||||
|
|
||||||
|
assign where host.name == NodeName
|
||||||
|
}
|
||||||
|
|
||||||
apply Service "load" {
|
apply Service "load" {
|
||||||
import "generic-service"
|
import "generic-service"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue