icinga-zones/master/hosts.conf

36 lines
928 B
Text
Raw Normal View History

// 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" ]
address = "127.0.0.1"
address6 = "::1"
vars.external_address = "49.13.65.97"
vars.external_address6 = "2a01:4f8:c17:7495::1"
vars.external_fqdn = "beholder.cacert.org"
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 = this.vars.external_address
http_vhost = this.vars.external_fqdn
http_headerstring = "Location: https://" + this.vars.external_fqdn + "/"
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 = this.vars.external_address6
http_vhost = this.vars.external_fqdn
http_headerstring = "Location: https://" + this.vars.external_fqdn + "/"
2023-08-17 07:59:17 +00:00
http_ipv6 = true
}
}