From: Thomas Dalichow Date: Thu, 30 Mar 2017 14:15:24 +0000 (+0200) Subject: pixelpark - dev-monitoring: add bogus host template because of PDB-170 (Puppetlabs... X-Git-Tag: v0.1.0~3345^2~4^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=4fa1fb4486237ed01741fe4ba637a05f8a2bbac7;p=pixelpark%2Fhiera.git pixelpark - dev-monitoring: add bogus host template because of PDB-170 (Puppetlabs JIRA --- 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'