From 7b8da1003c9f228dd657a621ada55e2d08c84a3f Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Mon, 16 Apr 2018 17:34:01 +0200 Subject: [PATCH] pixelpark - dev-monitoring: default crond check --- .../dev-monitoring.pixelpark.com.yaml | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml index 15198d5a..694e0246 100644 --- a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml +++ b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml @@ -9,6 +9,12 @@ infra::additional_classes: repo::redhat::oel7::ol7_software_collections_enable: '1' +# TODO: + +PixelparkPluginDir muss definiert und ersetzt werden an den Stellen, die mit _ppplugindir_ gemarkert sind + +# TODO END + # icinga2 infra::profile::icinga2::client::install_client: true @@ -119,7 +125,7 @@ infra::profile::icinga2::object::service: apply: true assign: - 'host.address' - notes: 'Das ist ein SSH-Check' + notes: 'This is an SSH check' 'load': target: '/etc/icinga2/conf.d/default-services.conf' import: @@ -129,7 +135,19 @@ infra::profile::icinga2::object::service: apply: true assign: - 'host.address && host.name == dev-monitoring-client.pixelpark.com' - notes: 'Das ist ein SSH-Check' + notes: 'This is a load check' + 'service-crond': + target: '/etc/icinga2/conf.d/default-services.conf' + import: + - 'generic-service' + check_command: 'check' +#_ppplugindir_ + command = [ "/opt/pixelpark-checks + "check_service", "crond" ] + command_endpoint: 'host.name' + apply: true + assign: + - 'host.address && host.name == dev-monitoring-client.pixelpark.com' + notes: 'This checks, whether crond exists, is enabled and is running' # 'disk': # target: '/etc/icinga2/conf.d/default-services.conf' # import: -- 2.39.5