diff options
author | varac <varacanero@zeromail.org> | 2014-12-11 22:12:02 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-12-11 22:12:02 +0100 |
commit | c6104cc1ffaca59544f4b4966a640be1ebcfa662 (patch) | |
tree | 4215a1afc6ee9752df9488532e1d9f869249f9d0 /puppet/modules | |
parent | 7c09360ad9da7dc2f5831532bd831d17f20e1f6c (diff) |
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
Diffstat (limited to 'puppet/modules')
-rw-r--r-- | puppet/modules/site_check_mk/files/extra_service_conf.mk | 10 |
1 files changed, 10 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 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" ) +] + |