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

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

Component Checks & agents
Title Ps check on Linux: Handle processes with deleted cgroups
Date Mar 4, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0b2 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p22 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks