From 6aad69dc7e3c0f4fe98f0db59f455002cf26feb9 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Wed, 13 Dec 2017 19:37:43 +0100 Subject: [PATCH] test RC notification - definition of checkcommand --- customer/pixelpark/dev-monitoring.pixelpark.com.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml index 313e3c2c..ba7a5c2c 100644 --- a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml +++ b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml @@ -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' -- 2.39.5