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

index ba7a5c2c7a28d99280219a6f3ce95c01e9694743..1031951ccb19862972bcc189d96c6553cdfe8e2a 100644 (file)
@@ -100,7 +100,7 @@ infra::profile::icinga2::object::service:
     target: '/etc/icinga2/conf.d/services.conf'
     import:
       - 'generic-service'
-    check_command: 'publicis_ad'
+    check_command: 'check_publicis_ad'
     check_interval: '10m'
     retry_interval: '60s'
     apply: true
@@ -137,8 +137,7 @@ infra::profile::icinga2::object::service:
 #      - 'host.address'
 
 infra::profile::icinga2::object::checkcommand:
-  'publicis_ad':
-    checkcommand_name: 'Publicis AD check'
+  'check_publicis_ad':
     import:
       - 'ipv4-or-ipv6'
     command: '/opt/pixelpark-icinga-checks/check_publicis_ad'