]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark - dev-monitoring-client: add crond checkcommand
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Mon, 16 Apr 2018 16:07:19 +0000 (18:07 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Mon, 16 Apr 2018 16:07:19 +0000 (18:07 +0200)
customer/pixelpark/dev-monitoring-client.pixelpark.com.yaml

index 2c51be0270b3195f4d86fe4730a3d7f2e011cf4a..929770d2c1399edc673662537b19af3ea29edd50 100644 (file)
@@ -5,3 +5,15 @@ infra::role: base
 # TODO: has to be applied on common.yaml level
 infra::profile::icinga2::client::install_client: true
 icinga2::feature::notification::ensure: absent
+
+
+# custom checkcommands muessen spaeter nach common.yaml
+
+infra::profile::icinga2::object::checkcommand:
+  'check_service_crond': 
+    import: 
+      - 'ipv4-or-ipv6' 
+    command: '/opt/pixelpark-monitoring-checks/check_service crond' 
+    target: '/etc/icinga2/conf.d/pixelpark-monitoring-checks.conf' 
+
+# custom checkcommands muessen spaeter nach common.yaml