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

Komponente Checks & agents
Titel job: treat killed jobs as a non-running job
Datum 06.11.2020
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks