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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p38 2.2.0p18 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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