Jan Dittberner
d436094797
- introduce host template linux-host to define vars.os - sort service definitions alphabetically - replace assign where true with assign where host.name == NodeName - add load, ping4, ping6, ssh and users checks - add http checks for hosts with vars.http_vhosts - define basic vars.http_vhosts for master (beholder.cacert.org)
21 lines
417 B
Text
21 lines
417 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"] = {
|
|
http_uri = "/"
|
|
http_headerstring = "Location: https://beholder.cacert.org/"
|
|
}
|
|
}
|