]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark - dev-monitoring: default crond check (fix3)
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Mon, 16 Apr 2018 15:42:26 +0000 (17:42 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Mon, 16 Apr 2018 15:42:26 +0000 (17:42 +0200)
customer/pixelpark/dev-monitoring.pixelpark.com.yaml

index 66b34e549179e936d151f871558bd5a2ed1abcda..6e9f37bef9f100aa939221235fe93105e04a6e51 100644 (file)
@@ -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'