From ad58bd65c866089951222a5f39fb1b36a458f528 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sun, 3 Sep 2023 13:09:43 +0200 Subject: [PATCH] Add infra02sat host --- global-templates/host-templates.conf | 6 ++++++ infra02sat.infra.cacert.org/hosts.conf | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 infra02sat.infra.cacert.org/hosts.conf diff --git a/global-templates/host-templates.conf b/global-templates/host-templates.conf index 28c4da1..8de9cf4 100644 --- a/global-templates/host-templates.conf +++ b/global-templates/host-templates.conf @@ -46,3 +46,9 @@ template Host "postfix-host" { procs_critical = "1:2" } } + +template Host "puppet-host" { + vars.procs["puppet"] = { + procs_critical = "1:2" + } +} diff --git a/infra02sat.infra.cacert.org/hosts.conf b/infra02sat.infra.cacert.org/hosts.conf new file mode 100644 index 0000000..c913871 --- /dev/null +++ b/infra02sat.infra.cacert.org/hosts.conf @@ -0,0 +1,13 @@ +// vim: set ft=icinga2 et sw=2 ts=2 si ai: +object Host "infra02sat" { + import "debian-host" + import "puppet-host" + + groups += [ "monitoring" ] + + address = "127.0.0.1" + address6 = "::1" + + vars.is_container = true + vars.debian_relase = 12 +}