Werk #15774: checking: Prevent data loss on hosts with longer check intervals

Component Core & setup
Title checking: Prevent data loss on hosts with longer check intervals
Date Sep 20, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p34 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, the validity of agent data for discovery and HW/SW inventory checks was 2 minutes. When checking is performed with a longer interval, the discovery would re-trigger fetching of the agent data.

In some checks this leads to data loss, because the checking fetches the data again and the data fetched by the discovery is lost.

The cache interval for discovery and HW/SW inventory checks is now 1.5 * checking interval.

To the list of all Werks