aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Runge <mrunge@redhat.com>2017-09-12 13:12:20 +0200
committerMatthias Runge <mrunge@redhat.com>2017-09-19 19:22:15 +0200
commit3af9151c5ac896f097e982c1786d9b04772e8b49 (patch)
tree55b052a028400cd51c96af06e8ef21c5d0bb5387
parent538072493081918f204662bd14a6084a7d47e7d0 (diff)
downloadkolla-3af9151c5ac896f097e982c1786d9b04772e8b49.tar.gz
kolla-3af9151c5ac896f097e982c1786d9b04772e8b49.zip
Add more collectd plugins to the container
Since collectd exists in both centos-opstools and also in EPEL, we disable EPEL for collectd building. Change-Id: I2428aea0265b1dcd050f63ea3949c112407d5d04
-rw-r--r--docker/collectd/Dockerfile.j216
1 files changed, 15 insertions, 1 deletions
diff --git a/docker/collectd/Dockerfile.j2 b/docker/collectd/Dockerfile.j2
index b2856fc7e..79940b1c0 100644
--- a/docker/collectd/Dockerfile.j2
+++ b/docker/collectd/Dockerfile.j2
@@ -13,10 +13,24 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set collectd_packages = collectd_packages + [
- 'collectd-disk'
+ 'collectd-apache',
+ 'collectd-ceph',
+ 'collectd-disk',
+ 'collectd-python',
+ 'collectd-virt'
] %}
+ {% if base_arch =='x86_64' %}
+ {% set collectd_packages = collectd_packages + [
+ 'collectd-turbostat',
+ 'collectd-hugepages'
+ ] %}
+
+ {% endif %}
+# make sure, collectd is pulled from centos-opstools
+RUN yum-config-manager --disable epel
{% endif %}
+
{{ macros.install_packages(collectd_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start