Werk #16164: veeam_cdp_jobs: Handle last sync time from the future

Component Checks & agents
Title veeam_cdp_jobs: Handle last sync time from the future
Date Dec 29, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p38 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, the veeam_cdp_jobs would crash when receiving last sync time from the future with a message:

raise ValueError("Cannot render negative timespan")

Now, the affected service will be in state WARN and report the following message:

"The timestamp of the file is in the future. Please investigate your host times"

To the list of all Werks