FBR: Fix collectd problems with containers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently we are creating lots of collectd files for the containers
which only exist for 30 minutes or so on the proxies. This is a lot of
rrd files and fills up log01 eventually.

diff --git a/roles/collectd/base/templates/collectd.conf.j2
b/roles/collectd/base/templates/collectd.conf.j2
index 91f5a63..d84b7d0 100644
--- a/roles/collectd/base/templates/collectd.conf.j2
+++ b/roles/collectd/base/templates/collectd.conf.j2
@@ -39,6 +39,17 @@ LoadPlugin vmem
     IgnoreSelected false
 </Plugin>

+<Plugin "interface">
+  Interface "/^veth/"
+  IgnoreSelected true
+</Plugin>
+
+<Plugin "df">
+  Interface "/^df-var-lib-docker-containers-/"
+  Interface "/^df-var-lib-docker-overlay2-/"
+  IgnoreSelected true
+</Plugin>
+
 <Plugin hddtemp>
        TranslateDevicename false
 </Plugin>



-- 
Stephen J Smoogen.
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux