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.mk14
1 files changed, 14 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..c7120a96
--- /dev/null
+++ b/puppet/modules/site_check_mk/files/extra_service_conf.mk
@@ -0,0 +1,14 @@
+# 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 4 minutes if it terminates successfully.
+# see https://leap.se/code/issues/6539 for the rationale
+#
+extra_service_conf["normal_check_interval"] = [
+ ("4", ALL_HOSTS , "Check_MK" )
+]
+