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>
Updated patch to get the other directories which were filling up collectd
diff --git a/roles/collectd/base/templates/collectd.conf.j2 b/roles/collectd/base/templates/collectd.conf.j2 index 91f5a63..0de9b40 100644 --- a/roles/collectd/base/templates/collectd.conf.j2 +++ b/roles/collectd/base/templates/collectd.conf.j2 @@ -39,6 +39,24 @@ 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-/" + Interface "/^df-run-user-/" + Interface "/^df-tmp-tweak/" + Interface "/^df-mnt-fedora_koji/" + Interface "/^df-var-lib-mock-fedora/" + Interface "/^df-tmp-iso-mount-/" + Interface "/^df-var-lib-origin-openshift/" + Interface "/^df-.*.snapshot/" + IgnoreSelected true +</Plugin> + <Plugin hddtemp> TranslateDevicename false </Plugin>
On 23 April 2018 at 21:14, Kevin Fenzi kevin@scrye.com wrote:
+1 to fix it.
kevin
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
+1, thanks for this
-re
On Mon, Apr 23, 2018 at 9:18 PM, Stephen John Smoogen smooge@gmail.com wrote:
Updated patch to get the other directories which were filling up collectd
diff --git a/roles/collectd/base/templates/collectd.conf.j2 b/roles/collectd/base/templates/collectd.conf.j2 index 91f5a63..0de9b40 100644 --- a/roles/collectd/base/templates/collectd.conf.j2 +++ b/roles/collectd/base/templates/collectd.conf.j2 @@ -39,6 +39,24 @@ 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-/"
- Interface "/^df-run-user-/"
- Interface "/^df-tmp-tweak/"
- Interface "/^df-mnt-fedora_koji/"
- Interface "/^df-var-lib-mock-fedora/"
- Interface "/^df-tmp-iso-mount-/"
- Interface "/^df-var-lib-origin-openshift/"
- Interface "/^df-.*.snapshot/"
- IgnoreSelected true
+</Plugin>
<Plugin hddtemp> TranslateDevicename false </Plugin>
On 23 April 2018 at 21:14, Kevin Fenzi kevin@scrye.com wrote:
+1 to fix it.
kevin
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
-- Stephen J Smoogen. _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
infrastructure@lists.fedoraproject.org