@cryptotaxi247 / netdata-1 / commits / cea94c16c

fix systemd-nspawn cgroups patterns; fixes #3382; fixes #3367

Costa Tsaousis (ktsaou) committed Feb 14, 2018 at 23:51 UTC cea94c16c71a9ec64e8d0e50d94e8d2046297df0
1 file changed +2 -2
src/sys_fs_cgroup.c
+2 -2
@@ -156,7 +156,7 @@ void read_cgroup_plugin_configuration() {
156
157 // ----------------------------------------------------------------
158
159 - " machine.slice/*.service " // #3367 systemd-nspawn
159 + " /machine.slice/*.service " // #3367 systemd-nspawn
160
161 // ----------------------------------------------------------------
162
@@ -208,7 +208,7 @@ void read_cgroup_plugin_configuration() {
208 " !*.mount "
209 " !*.socket "
210 " !*.partition "
211 - " machine.slice/*.service " // #3367 systemd-nspawn
211 + " /machine.slice/*.service " // #3367 systemd-nspawn
212 " !*.service "
213 " !*.slice "
214 " !*.swap "