]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark - dev-monitoring: add ldap check
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Wed, 13 Dec 2017 12:32:53 +0000 (13:32 +0100)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Wed, 13 Dec 2017 12:32:53 +0000 (13:32 +0100)
customer/pixelpark/dev-monitoring.pixelpark.com.yaml

index a15d570dd09eb260e1e60e1f1a196244b20e30b5..1ef5a58c13ce5794ce51e2197e117624185452c4 100644 (file)
@@ -81,7 +81,6 @@ infra::profile::icinga2::object::host:
     notes: 'This host is a dummy-Host. It is always up and only there to attach checks to it.'
     import:
       - 'generic-host'
-    max_check_attempts: '3'
     check_command: 'dummy'
 
 infra::profile::icinga2::object::service:
@@ -97,6 +96,16 @@ infra::profile::icinga2::object::service:
         mail:
           groups:
             - 'icingaadmins'
+  'active-directory':
+    target: '/etc/icinga2/conf.d/services.conf'
+    import:
+      - 'generic-service'
+    check_command: 'ldap'
+    apply: true
+    assign:
+      - 'host.address'
+      - 'host.name == \'global.publicisgroupe.net\''
+    notes: 'Das ist ein SSH-Check'
   'ssh':
     target: '/etc/icinga2/conf.d/default-services.conf'
     import: