From: Marc Fournier Date: Wed, 16 Nov 2016 09:00:44 +0000 (+0100) Subject: contrib/docker: add minimal example config file X-Git-Tag: collectd-5.8.0~301^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da6722c3cf7ace6c922bb1952a49aebb7c65180b;p=collectd.git contrib/docker: add minimal example config file --- diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index ff0a0d59..a691f2e6 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN mkdir /etc/collectd/collectd.conf.d COPY collectd.conf /etc/collectd/collectd.conf +COPY collectd.conf.d /etc/collectd/collectd.conf.d ENV LD_PRELOAD /usr/src/rootfs_prefix/rootfs_prefix.so diff --git a/contrib/docker/collectd.conf.d/sample.conf b/contrib/docker/collectd.conf.d/sample.conf new file mode 100644 index 00000000..cbd7ce15 --- /dev/null +++ b/contrib/docker/collectd.conf.d/sample.conf @@ -0,0 +1,4 @@ +LoadPlugin cpu +LoadPlugin memory +LoadPlugin disk +LoadPlugin df