From 0d2b0c4050e86db20bfca0d565bc6cff54f0a1e7 Mon Sep 17 00:00:00 2001 From: Vladimir Kobal Date: Thu, 16 Jan 2020 17:31:47 +0200 Subject: Filter out lxc cgroups which are not useful (#7760) --- collectors/cgroups.plugin/sys_fs_cgroup.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'collectors/cgroups.plugin') diff --git a/collectors/cgroups.plugin/sys_fs_cgroup.c b/collectors/cgroups.plugin/sys_fs_cgroup.c index 7882d0185f..9054c5a279 100644 --- a/collectors/cgroups.plugin/sys_fs_cgroup.c +++ b/collectors/cgroups.plugin/sys_fs_cgroup.c @@ -251,6 +251,9 @@ void read_cgroup_plugin_configuration() { " !/libvirt " " !/lxc " " !/lxc/*/* " // #1397 #2649 + " !/lxc.monitor " + " !/lxc.pivot " + " !/lxc.payload " " !/machine " " !/qemu " " !/system " @@ -270,6 +273,8 @@ void read_cgroup_plugin_configuration() { " !/user " " !/user.slice " " !/lxc/*/* " // #2161 #2649 + " !/lxc.monitor " + " !/lxc.payload/*/* " " * " ), NULL, SIMPLE_PATTERN_EXACT); -- cgit v1.2.3