From: Thomas Dalichow Date: Mon, 16 Apr 2018 15:42:26 +0000 (+0200) Subject: pixelpark - dev-monitoring: default crond check (fix3) X-Git-Tag: v0.1.0~1287 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=faf33d44b60628d7775ce10d7e75106a04d58616;p=pixelpark%2Fhiera.git pixelpark - dev-monitoring: default crond check (fix3) --- 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'