From faf33d44b60628d7775ce10d7e75106a04d58616 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Mon, 16 Apr 2018 17:42:26 +0200 Subject: [PATCH] pixelpark - dev-monitoring: default crond check (fix3) --- customer/pixelpark/dev-monitoring.pixelpark.com.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml index 66b34e54..6e9f37be 100644 --- a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml +++ b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml @@ -138,9 +138,8 @@ infra::profile::icinga2::object::service: target: '/etc/icinga2/conf.d/default-services.conf' import: - 'generic-service' - check_command: 'check' + check_command: 'check_service_crond' #_ppplugindir_ - command: "/opt/pixelpark-checks/check_service crond" command_endpoint: 'host.name' apply: true assign: @@ -162,6 +161,11 @@ infra::profile::icinga2::object::checkcommand: - 'ipv4-or-ipv6' command: '/opt/pixelpark-monitoring-checks/check_publicis_ad' target: '/etc/icinga2/conf.d/pixelpark-monitoring-checks.conf' + 'check_service_crond': + import: + - 'ipv4-or-ipv6' + command: '/opt/pixelpark-monitoring-checks/check_service crond' + target: '/etc/icinga2/conf.d/pixelpark-monitoring-checks.conf' infra::profile::icinga2::object::hostgroup: 'linux-servers': target: '/etc/icinga2/conf.d/hostgroups.conf' -- 2.39.5