|
|
|
@ -16,12 +16,16 @@ apply Service "icinga" {
|
|
|
|
|
import "generic-service"
|
|
|
|
|
|
|
|
|
|
check_command = "icinga"
|
|
|
|
|
|
|
|
|
|
assign where "generic-host" in host.groups
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
apply Service "procs" {
|
|
|
|
|
import "generic-service"
|
|
|
|
|
|
|
|
|
|
check_command = "procs"
|
|
|
|
|
|
|
|
|
|
assign where "generic-host" in host.groups
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
apply Service "proc-" for (proc => config in host.vars.procs) {
|
|
|
|
@ -30,6 +34,8 @@ apply Service "proc-" for (proc => config in host.vars.procs) {
|
|
|
|
|
check_command = "procs"
|
|
|
|
|
|
|
|
|
|
vars += config
|
|
|
|
|
|
|
|
|
|
assign where "procs" in host.vars
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
apply Service "disk-" for (disk => config in host.vars.disks) {
|
|
|
|
@ -38,4 +44,6 @@ apply Service "disk-" for (disk => config in host.vars.disks) {
|
|
|
|
|
check_command = "disk"
|
|
|
|
|
|
|
|
|
|
vars += config
|
|
|
|
|
|
|
|
|
|
assign where "disks" in host.vars
|
|
|
|
|
}
|
|
|
|
|