We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #8865: DCD: Add host deletion grace time after site initialization

ComponentCore & Setup
TitleDCD: Add host deletion grace time after site initialization
Date2019-08-20 08:48:20
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.6.0b7,1.7.0i1
LevelTrivial Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

The hosts created with the DCD are based on the piggyback data produced by a source host.

This piggyback data is stored in Checkmk sites in a temporary directory below tmp/check_mk/piggyback*. This temporary directory is initialized during the first startup of a site after the Checkmk host was booted. From the initialization to the first contact with the source host, the piggyback data is missing and could lead to host being removed by the DCD accidentally.

To prevent this, the DCD connections got a new mandatory configuration option "Prevent host deletion right after initialization". It is used to configure the duration where no host is deleted after the site (tmpfs) initialization. It defaults to 10 minutes, which should be enough for the piggyback sources to produce the needed data.