icinga-zones/infra03sat.infra.cacert.org/hosts.conf
Jan Dittberner c624514dcc First attempt to setup Matrix notifications
- define Matrix notification commands
- define time periods and CAcert admin user group
- define notification origins
- add beholder host checks on both infra02sat and infra03sat
2024-09-27 10:16:38 +02:00

31 lines
628 B
Text

// vim: set ft=icinga2 et sw=2 ts=2 si ai:
object Host "infra03sat.infra.cacert.org" {
import "debian-host"
import "puppet-host"
display_name = "infra03sat"
groups += [ "monitoring" ]
address = "127.0.0.1"
address6 = "::1"
vars.is_container = true
vars.debian_release = 12
vars.ca_certs["Puppet"] = {
ssl_cert_file = "/var/lib/puppet/ssl/certs/ca.pem"
}
}
object Host "beholder.cacert.org" {
import "generic-host"o
display_name = "beholder from infra03sat"
groups += [ "monitoring" ]
address = "49.13.65.97"
address6 = "2a01:4f8:c17:7495::1"
vars.notification.from == "infra03sat"
}