Werk #13757: Ps check on Linux: Handle processes with deleted cgroups

Komponente Checks & agents
Titel Ps check on Linux: Handle processes with deleted cgroups
Datum 04.03.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p22 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The ps (process) check on Linux was not able to handle processes with deleted cgroups. Such processes result in crashes such as "ValueError (invalid literal for int() with base 10: '...')"

The Linux ps check now handles such processes correctly. It appends "(deleted)" to the cgroup of the process, as is done by the ps command.

Zur Liste aller Werks