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-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-17 08:08:28 +00:00
|
|
|
vars.external_address = "49.13.65.97"
|
|
|
|
vars.external_address6 = "2a01:4f8:c17:7495::1"
|
|
|
|
|
2023-08-15 15:46:37 +00:00
|
|
|
vars.disks["/"] = {
|
|
|
|
disk_partitions = "/"
|
|
|
|
}
|
|
|
|
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:08:28 +00:00
|
|
|
http_address = vars.external_address
|
2023-08-17 07:58:24 +00:00
|
|
|
http_vhost = "beholder.cacert.org"
|
2023-08-17 07:49:33 +00:00
|
|
|
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:08:28 +00:00
|
|
|
http_address = vars.external_address6
|
2023-08-17 07:58:24 +00:00
|
|
|
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-15 15:46:37 +00:00
|
|
|
}
|