|Component||Core & Setup|
|Title||DCD: Add host deletion grace time after site initialization|
|Checkmk Edition||Checkmk Enterprise Edition (CEE)|
|Compatibility||Compatible - 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.