Werk #7430: ps: fix empty output on older distros with cgroups

Component Checks & agents
Title ps: fix empty output on older distros with cgroups
Date Jul 1, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Werk #7420 used the column cgname to determine if a process belongs to a docker container. Unfortunately, the column is not available on older distros with cgroups like e.g. Ubuntu 16.04. To fix this issue the ps section now uses the cgroup column.

To the list of all Werks