Werk #11807: local check: Do not crash on negative timespans

Component Checks & agents
Title local check: Do not crash on negative timespans
Date Jun 18, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In case a host's time is running ahead of checkmk's server time, a cached local section will crash in the plugin. This is fixed now and a message will be generated.

To the list of all Werks