icinga-zones/master/hosts.conf
Jan Dittberner 6886f91f9b Remove variables in host definition
Seems like the Icinga configuration parser does not resolve host
variables inside the host definition.
2023-08-17 10:22:42 +02:00

31 lines
746 B
Text

// vim: set ft=icinga2 et sw=2 ts=2 si ai:
object Host "beholder" {
import "debian-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
}
}