]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
test RC notification - definition of checkcommand
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Wed, 13 Dec 2017 18:37:43 +0000 (19:37 +0100)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Wed, 13 Dec 2017 18:37:43 +0000 (19:37 +0100)
customer/pixelpark/dev-monitoring.pixelpark.com.yaml

index 313e3c2c09753e685e5f11e9a252c9d6d3467d84..ba7a5c2c7a28d99280219a6f3ce95c01e9694743 100644 (file)
@@ -101,6 +101,8 @@ infra::profile::icinga2::object::service:
     import:
       - 'generic-service'
     check_command: 'publicis_ad'
+    check_interval: '10m'
+    retry_interval: '60s'
     apply: true
     assign:
       - 'host.name == global.publicisgroupe.net'
@@ -134,6 +136,13 @@ infra::profile::icinga2::object::service:
 #    assign:
 #      - 'host.address'
 
+infra::profile::icinga2::object::checkcommand:
+  'publicis_ad':
+    checkcommand_name: 'Publicis AD check'
+    import:
+      - 'ipv4-or-ipv6'
+    command: '/opt/pixelpark-icinga-checks/check_publicis_ad'
+    target: '/etc/icinga2/conf.d/pixelpark-icinga-checks.conf'
 infra::profile::icinga2::object::hostgroup:
   'linux-servers':
     target: '/etc/icinga2/conf.d/hostgroups.conf'