Werk #8865: DCD: Add host deletion grace time after site initialization
Component | Core & setup |
Title | DCD: Add host deletion grace time after site initialization |
Date | Aug 20, 2019 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk Version | 1.6.0b7 2.0.0i1 |
Level | Trivial Change |
Class | New Feature |
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.