2023-08-15 15:46:37 +00:00
|
|
|
// 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:46:37 +00:00
|
|
|
|
2023-08-15 15:57:42 +00:00
|
|
|
groups += [ "monitoring" ]
|
|
|
|
|
2023-08-15 15:46:37 +00:00
|
|
|
address = "127.0.0.1"
|
|
|
|
address6 = "::1"
|
|
|
|
|
2023-08-18 13:03:06 +00:00
|
|
|
vars.is_container = false
|
2023-08-19 11:23:01 +00:00
|
|
|
vars.debian_release = 12
|
2023-08-18 13:03:06 +00:00
|
|
|
|
2023-08-15 15:46:37 +00:00
|
|
|
vars.disks["/boot/efi"] = {
|
|
|
|
disk_partitions = "/boot/efi"
|
|
|
|
}
|
2023-08-17 07:49:33 +00:00
|
|
|
|
2023-08-17 07:58:24 +00:00
|
|
|
vars.http_vhosts["http redirect v4"] = {
|
2023-08-17 07:49:33 +00:00
|
|
|
http_uri = "/"
|
2023-08-17 08:22:42 +00:00
|
|
|
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 = "/"
|
2023-08-17 08:22:42 +00:00
|
|
|
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 07:49:33 +00:00
|
|
|
}
|
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 10:04:26 +00:00
|
|
|
vars.http_vhosts["graphite v4"] = {
|
|
|
|
http_uri = "/graphite/"
|
|
|
|
http_address = "49.13.65.97"
|
|
|
|
http_vhost = "beholder.cacert.org"
|
|
|
|
http_string = "Graphite"
|
|
|
|
http_ssl = true
|
|
|
|
http_sni = true
|
|
|
|
http_clientcert = "/etc/ssl/public/beholder-client.crt.pem"
|
|
|
|
http_privatekey = "/etc/ssl/private/beholder-client.key.pem"
|
|
|
|
http_ipv4 = true
|
|
|
|
}
|
|
|
|
vars.http_vhosts["graphite v6"] = {
|
|
|
|
http_uri = "/graphite/"
|
|
|
|
http_address = "2a01:4f8:c17:7495::1"
|
|
|
|
http_vhost = "beholder.cacert.org"
|
|
|
|
http_string = "Graphite"
|
|
|
|
http_ssl = true
|
|
|
|
http_sni = true
|
|
|
|
http_clientcert = "/etc/ssl/public/beholder-client.crt.pem"
|
|
|
|
http_privatekey = "/etc/ssl/private/beholder-client.key.pem"
|
|
|
|
http_ipv6 = true
|
|
|
|
}
|
|
|
|
vars.http_vhosts["icingaweb2 v4"] = {
|
|
|
|
http_uri = "/icingaweb2/dashboard"
|
|
|
|
http_address = "49.13.65.97"
|
|
|
|
http_vhost = "beholder.cacert.org"
|
|
|
|
http_string = "Dashboard :: Icinga Web"
|
|
|
|
http_ssl = true
|
|
|
|
http_sni = true
|
|
|
|
http_clientcert = "/etc/ssl/public/beholder-client.crt.pem"
|
|
|
|
http_privatekey = "/etc/ssl/private/beholder-client.key.pem"
|
|
|
|
http_ipv4 = true
|
|
|
|
}
|
|
|
|
vars.http_vhosts["icingaweb2 v6"] = {
|
|
|
|
http_uri = "/icingaweb2/dashboard"
|
|
|
|
http_address = "2a01:4f8:c17:7495::1"
|
|
|
|
http_vhost = "beholder.cacert.org"
|
|
|
|
http_string = "Dashboard :: Icinga Web"
|
|
|
|
http_ssl = true
|
|
|
|
http_sni = true
|
|
|
|
http_clientcert = "/etc/ssl/public/beholder-client.crt.pem"
|
|
|
|
http_privatekey = "/etc/ssl/private/beholder-client.key.pem"
|
|
|
|
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"
|
|
|
|
}
|
2023-08-18 12:15:32 +00:00
|
|
|
|
|
|
|
vars.pgsql_dbs["icingadb"] = {
|
2023-08-18 12:17:32 +00:00
|
|
|
pgsql_database = "icingadb"
|
2023-08-18 12:15:32 +00:00
|
|
|
pgsql_query = "SELECT COUNT(*) FROM host"
|
|
|
|
}
|
2023-08-18 13:03:06 +00:00
|
|
|
|
|
|
|
vars.x509_certs["monitoring client"] = {
|
|
|
|
ssl_cert_address = "localhost"
|
|
|
|
ssl_cert_file = "/etc/ssl/public/beholder-client.crt.pem"
|
|
|
|
ssl_cert_ignore_sct = true
|
|
|
|
ssl_cert_warn = 30
|
|
|
|
}
|
2023-08-19 12:03:25 +00:00
|
|
|
vars.x509_certs["beholder.cacert.org"] = {
|
2023-08-19 12:04:37 +00:00
|
|
|
ssl_cert_address = "49.13.65.97"
|
2023-08-19 12:03:25 +00:00
|
|
|
ssl_cert_sni = true
|
|
|
|
ssl_cert_cn = "beholder.cacert.org"
|
|
|
|
}
|
2023-08-18 13:03:06 +00:00
|
|
|
|
2023-08-19 09:59:32 +00:00
|
|
|
vars.ca_certs["Icinga master"] = {
|
2023-08-18 13:03:06 +00:00
|
|
|
ssl_cert_file = "/var/lib/icinga2/ca/ca.crt"
|
|
|
|
}
|
2023-08-15 15:46:37 +00:00
|
|
|
}
|