summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/files/extra_service_conf.mk
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_check_mk/files/extra_service_conf.mk')
-rw-r--r--puppet/modules/site_check_mk/files/extra_service_conf.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/files/extra_service_conf.mk b/puppet/modules/site_check_mk/files/extra_service_conf.mk
new file mode 100644
index 00000000..03d1ea76
--- /dev/null
+++ b/puppet/modules/site_check_mk/files/extra_service_conf.mk
@@ -0,0 +1,13 @@
+# retry 3 times before setting a service into a hard state
+# and send out notification
+extra_service_conf["max_check_attempts"] = [
+ ("4", ALL_HOSTS , ALL_SERVICES )
+]
+
+# run check_mk_agent every 2 minutes if it terminates
+# successfully.
+# see https://leap.se/code/issues/6539 for the rationale
+extra_service_conf["normal_check_interval"] = [
+ ("2", ALL_HOSTS , "Check_MK" )
+]
+