From 6546405cd509d3e1ace03211068416b600456e6a Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Wed, 13 Dec 2017 13:32:53 +0100 Subject: [PATCH] pixelpark - dev-monitoring: add ldap check --- customer/pixelpark/dev-monitoring.pixelpark.com.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml index a15d570d..1ef5a58c 100644 --- a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml +++ b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml @@ -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: -- 2.39.5