icinga-zones/master/hosts.conf

66 lines
1.5 KiB
Text
Raw Normal View History

// vim: set ft=icinga2 et sw=2 ts=2 si ai:
object Host "beholder" {
import "debian-host"
2023-08-17 08:39:30 +00:00
import "postfix-host"
2023-08-15 15:57:42 +00:00
groups += [ "monitoring" ]
address = "127.0.0.1"
address6 = "::1"
vars.disks["/"] = {
disk_partitions = "/"
}
vars.disks["/boot/efi"] = {
disk_partitions = "/boot/efi"
}
2023-08-17 07:58:24 +00:00
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/"
2023-08-17 07:59:17 +00:00
http_ipv4 = true
2023-08-17 07:58:24 +00:00
}
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/"
2023-08-17 07:59:17 +00:00
http_ipv6 = true
}
2023-08-17 08:30:48 +00:00
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
}
2023-08-17 08:39:30 +00:00
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"
}
}