Define process checks for master

main
Jan Dittberner 10 months ago
parent 68238a1ad2
commit e5db0ccf9b

@ -34,3 +34,13 @@ template Host "debian-host" {
}
}
}
template Host "postfix-host" {
vars.procs = {
"postfix" = {
procs_command = "master"
procs_argument = "postfix"
procs_critical = "1:2"
}
}
}

@ -1,6 +1,7 @@
// vim: set ft=icinga2 et sw=2 ts=2 si ai:
object Host "beholder" {
import "debian-host"
import "postfix-host"
groups += [ "monitoring" ]
@ -40,4 +41,25 @@ object Host "beholder" {
http_string = "Graphite"
http_ipv6 = true
}
vars.procs["apache2"] = {
procs_command = "apache2"
procs_critical = "1:50"
}
vars.procs["carbon-cache"] = {
procs_command = "carbon-cache"
procs_critical = "1:2"
}
vars.procs["incrond"] = {
procs_command = "incrond"
procs_critical = "1:2"
}
vars.procs["icingadb"] = {
procs_command = "icingadb"
procs_critical = "1:2"
}
vars.procs["postgres"] = {
procs_command = "postgres"
procs_critical = "1:50"
}
}

Loading…
Cancel
Save