[nagios-plugins] check_procs: Support cgroups / LXC (#1222)
notifications at github.com
Mon Jan 6 11:33:02 CET 2014
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, ...).
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.
Please add a switch which will make check_procs obey the cgroups visible in e.g. /proc/<PID>/cgroup.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel