Werk #13743: Crash check chrony: Cannot render negative timespan

Component Checks & agents
Title Crash check chrony: Cannot render negative timespan
Date Apr 25, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When the system time is incorrect the time since last synchronization can be in the future. This caused the chrony check to crash when rendering the time since last synchronization.

Now the absolute value is displayed and a note to check the system time is added.

To the list of all Werks