[nagios-plugins] check_procs: Support cgroups / LXC (#1222)

Dominik Schulz 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:
https://github.com/nagios-plugins/nagios-plugins/issues/1222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20140106/60c3c822/attachment.html>


More information about the Devel mailing list