icinga-zones/global-templates/services.conf
Jan Dittberner 022e34449a First objects
- add basic service and host templates
- add service groups
- define a few services
- add beholder host
2023-08-15 17:46:37 +02:00

41 lines
677 B
Text

// vim: set ft=icinga2 et sw=2 ts=2 si ai:
apply Service "apt" {
import "generic-service"
check_command = "apt"
check_interval = 1h
retry_interval = 15m
vars.apt_list = true
assign where host.vars.osfamily == "Debian"
}
apply Service "icinga" {
import "generic-service"
check_command = "icinga"
}
apply Service "procs" {
import "generic-service"
check_command = "procs"
}
apply Service "proc-" for (proc => config in host.vars.procs) {
import "generic-service"
check_command = "procs"
vars += config
}
apply Service "disk-" for (disk => config in host.vars.disks) {
import "generic-service"
check_command = "disk"
vars += config
}