From c6104cc1ffaca59544f4b4966a640be1ebcfa662 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 11 Dec 2014 22:12:02 +0100 Subject: Increase time between two check_mk_agent runs (Bug #6539) right now, check_mk_agent is run every minute on each host. The soledad sync test depends on tapicero, and in between finishing the soledad test and removing the testuser db, and the start of another test there's only 13s Change-Id: I5b22ba02470cce799a12043d21091c0c9b8e0b5f --- puppet/modules/site_check_mk/files/extra_service_conf.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'puppet') diff --git a/puppet/modules/site_check_mk/files/extra_service_conf.mk b/puppet/modules/site_check_mk/files/extra_service_conf.mk index 51f348f1..03d1ea76 100644 --- a/puppet/modules/site_check_mk/files/extra_service_conf.mk +++ b/puppet/modules/site_check_mk/files/extra_service_conf.mk @@ -1,3 +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" ) +] + -- cgit v1.2.3