Werk #11538: job: treat killed jobs as a non-running job

Component Checks & Agents
Title job: treat killed jobs as a non-running job
Date Nov 6, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The job check monitors processes on Linux. Killed jobs were falsely flagged as running jobs, wich could potentially lead to a crash with an obscure error message: raise ValueError("Cannot render negative timespan"). This has been fixed, so that killed jobs are shown as terminated jobs and are only reported if they are the latest instance of the job.

To the list of all Werks