<p>The current implementation of check_procs is nice and handy to make sure that a certain number of processes is running, e.g. ntp. It does so, however, in a way that is not suitable for systems running a cgroup based virtualization (lxc, docker, ...).</p>
<p>On those systems all processes running in the child containers will show up in the process list of the host and thus the numbers reported by check_procs are inaccurate.</p>
<p>Please add a switch which will make check_procs obey the cgroups visible in e.g. /proc//cgroup.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/nagios-plugins/nagios-plugins/issues/1222'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNDUzNzE4MiwiZGF0YSI6eyJpZCI6MjI5NjI5OTh9fQ==--13ee889d58da2a861cdaf637f348f31b96060e26.gif' height='1' width='1'></p>