]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark - dev-monitoring: add vars to legacy-host notos
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Wed, 19 Apr 2017 13:05:35 +0000 (15:05 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Wed, 19 Apr 2017 13:05:56 +0000 (15:05 +0200)
customer/pixelpark/dev-monitoring.pixelpark.com.yaml

index 4e52f0edfc9fa43aed3a9bf1666ad191aa677f18..ae3e9b0b88a22ff0f56806df0a357bc8346c6573 100644 (file)
@@ -57,9 +57,11 @@ infra::profile::icinga2::object::host:
 #      'host.vars.notification.mail.groups':
 #        - 'icingaadmins'
     max_check_attempts: '3'
+    enable_flapping: true
     check_interval: '1m'
     retry_interval: '30s'
     check_command: 'hostalive'
+    zone: 'master'
   'bogus-template':
     target: '/etc/icinga2/conf.d/host-templates.conf'
     template: true
@@ -74,6 +76,12 @@ infra::profile::icinga2::object::host:
       - 'bogus-template'
     address: '217.66.53.253'
     display_name: 'notos.pixelpark.com'
+    vars:
+      vars.customer: 'pixelpark'
+      vars.kernel: 'SunOS'
+      vars.os: 'Solaris'
+      vars.tier: 'production'
+      vars.virtual_machine: false
 
 infra::profile::icinga2::object::service:
   'generic-service':