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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0b3 2.0.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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