Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #22579: job: no crash on negative real time

Component Checks & agents
Title job: no crash on negative real time
Date Oct 6, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p16
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p38
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

If a job monitored via mk-job reported a negative real time, the Job service crashed with ValueError: Cannot render negative timespan. This happens when the system clock is set back while the job is running, for example by a job that runs chronyc makestep.

The service now goes to WARN and reports the negative value with a hint to check the system time. The exit code and job age are evaluated as before.

To the list of all Werks