From 4fa1fb4486237ed01741fe4ba637a05f8a2bbac7 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Thu, 30 Mar 2017 16:15:24 +0200 Subject: [PATCH] pixelpark - dev-monitoring: add bogus host template because of PDB-170 (Puppetlabs JIRA --- common.yaml | 5 +++++ customer/pixelpark/dev-monitoring.pixelpark.com.yaml | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/common.yaml b/common.yaml index b747b063..30813c17 100644 --- a/common.yaml +++ b/common.yaml @@ -1,6 +1,11 @@ --- site::role: base_for_old_systems +# workaround f +site::profile::icinga2::client::host_template: + - 'generic-host' + - 'bogus-template' + sudo::purge: false accounts::users: diff --git a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml index f3e21be6..23c95dfa 100644 --- a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml +++ b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml @@ -55,6 +55,16 @@ site::profile::icinga2::object::host: template: true # vars: # 'host.vars.notification.mail.groups': +# - 'icingaadmins' + max_check_attempts: '3' + check_interval: '1m' + retry_interval: '30s' + check_command: 'hostalive' + 'bogus-template': + target: '/etc/icinga2/conf.d/host-templates.conf' + template: true +# vars: +# 'host.vars.notification.mail.groups': # - 'icingaadmins' max_check_attempts: '3' check_interval: '1m' -- 2.39.5