Werk #5211: Agent bakery: Reduced agent baking time when monitoring 0 hosts from central site

ComponentAgent Bakery
TitleAgent bakery: Reduced agent baking time when monitoring 0 hosts from central site
Date2017-09-26 15:36:31
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.4.0p14,1.5.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

When having a distributed Check_MK/WATO environment where the central management site has zero hosts configured to be monitored, the time needed to bake agents was increased by a broken cache. This cache is now being used even when the central site is not monitoring any host.

You could workaround this issue by adding a single host to be monitored from the central site.