]> arthur.barton.de Git - netdata.git/commitdiff
Merge pull request #1952 from ktsaou/master
authorCosta Tsaousis <costa@tsaousis.gr>
Thu, 16 Mar 2017 18:18:42 +0000 (20:18 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Mar 2017 18:18:42 +0000 (20:18 +0200)
minor fixes

src/sys_fs_cgroup.c
system/netdata.service.in

index 16d057f4031b75977d0009da3a9bbf183926ca49..8f31527dec969e13b08dc6d180650633f32e835b 100644 (file)
@@ -148,6 +148,7 @@ void read_cgroup_plugin_configuration() {
     enabled_cgroup_patterns = simple_pattern_create(
             config_get("plugin:cgroups", "enable by default cgroups matching",
                     " /system.slice/docker-*.scope "
+                    " /qemu.slice/*.scope "                // #1949
                     " !*.mount "
                     " !*.partition "
                     " !*.scope "
@@ -159,18 +160,18 @@ void read_cgroup_plugin_configuration() {
                     " !/docker "
                     " !/libvirt "
                     " !/lxc "
-                    " !/lxc/*/ns "         //  #1397
+                    " !/lxc/*/ns "                         //  #1397
                     " !/machine "
                     " !/qemu "
                     " !/system "
                     " !/systemd "
                     " !/user "
-                    " * "                  // enable anything else
+                    " * "                                  // enable anything else
             ), SIMPLE_PATTERN_EXACT);
 
     enabled_cgroup_paths = simple_pattern_create(
             config_get("plugin:cgroups", "search for cgroups in subpaths matching",
-                    " !*-qemu "            //  #345
+                    " !*-qemu "                           //  #345
                     " !/init.scope "
                     " !/system "
                     " !/systemd "
@@ -184,6 +185,7 @@ void read_cgroup_plugin_configuration() {
 
     enabled_cgroup_renames = simple_pattern_create(
             config_get("plugin:cgroups", "run script to rename cgroups matching",
+                    " /qemu.slice/*.scope "                // #1949
                     " *docker* "
                     " *lxc* "
                     " !/ "
index e260e2738038e7396df07bcb601a26772e86d815..6bbb84eb5faa3229ea5a78db828b89b6d03bc386 100644 (file)
@@ -1,6 +1,6 @@
 [Unit]
 Description=Real time performance monitoring
-After=network.target httpd.service squid.service nfs-server.service mysqld.service named.service postfix.service
+After=network.target httpd.service squid.service nfs-server.service mysqld.service mysql.service named.service postfix.service
 
 [Service]
 Type=simple