icinga-zones/master/hosts.conf

65 lines
1.5 KiB
Text

// vim: set ft=icinga2 et sw=2 ts=2 si ai:
object Host "beholder" {
import "debian-host"
import "postfix-host"
groups += [ "monitoring" ]
address = "127.0.0.1"
address6 = "::1"
vars.disks["/"] = {
disk_partitions = "/"
}
vars.disks["/boot/efi"] = {
disk_partitions = "/boot/efi"
}
vars.http_vhosts["http redirect v4"] = {
http_uri = "/"
http_address = "49.13.65.97"
http_vhost = "beholder.cacert.org"
http_headerstring = "Location: https://beholder.cacert.org/"
http_ipv4 = true
}
vars.http_vhosts["http redirect v6"] = {
http_uri = "/"
http_address = "2a01:4f8:c17:7495::1"
http_vhost = "beholder.cacert.org"
http_headerstring = "Location: https://beholder.cacert.org/"
http_ipv6 = true
}
vars.http_vhosts["carbon.localhost v4"] = {
http_uri = "/graphite/"
http_vhost = "carbon.localhost"
http_string = "Graphite"
http_ipv4 = true
}
vars.http_vhosts["carbon.localhost v6"] = {
http_uri = "/graphite/"
http_vhost = "carbon.localhost"
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"
}
}