Werk #15602: mk-job: Cleanup after execution was interrupted

Komponente Checks & agents
Titel mk-job: Cleanup after execution was interrupted
Datum 05.04.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p35 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, if the wrapper program mk-job was interrupted by a reboot, the Job service would continue to show the job, which was started by mk-job. This job was shown to be running despite it being terminated by the reboot. This can be fixed by removing the corresponding file created by mk-job. With this werk, mk-job cleans up the file after being interrupted. Thus, these terminated jobs will no longer be shown as running.

Zur Liste aller Werks