|
|
@ -17,7 +17,7 @@ apply Service "icinga" {
|
|
|
|
|
|
|
|
|
|
|
|
check_command = "icinga"
|
|
|
|
check_command = "icinga"
|
|
|
|
|
|
|
|
|
|
|
|
assign where "generic-host" in host.groups
|
|
|
|
assign where true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
apply Service "procs" {
|
|
|
|
apply Service "procs" {
|
|
|
@ -25,7 +25,7 @@ apply Service "procs" {
|
|
|
|
|
|
|
|
|
|
|
|
check_command = "procs"
|
|
|
|
check_command = "procs"
|
|
|
|
|
|
|
|
|
|
|
|
assign where "generic-host" in host.groups
|
|
|
|
assign where true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
apply Service "proc-" for (proc => config in host.vars.procs) {
|
|
|
|
apply Service "proc-" for (proc => config in host.vars.procs) {
|
|
|
@ -35,7 +35,7 @@ apply Service "proc-" for (proc => config in host.vars.procs) {
|
|
|
|
|
|
|
|
|
|
|
|
vars += config
|
|
|
|
vars += config
|
|
|
|
|
|
|
|
|
|
|
|
assign where "procs" in host.vars
|
|
|
|
assign where host.vars.disks
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
apply Service "disk-" for (disk => config in host.vars.disks) {
|
|
|
|
apply Service "disk-" for (disk => config in host.vars.disks) {
|
|
|
@ -45,5 +45,5 @@ apply Service "disk-" for (disk => config in host.vars.disks) {
|
|
|
|
|
|
|
|
|
|
|
|
vars += config
|
|
|
|
vars += config
|
|
|
|
|
|
|
|
|
|
|
|
assign where "disks" in host.vars
|
|
|
|
assign where host.vars.disks
|
|
|
|
}
|
|
|
|
}
|
|
|
|