From da6722c3cf7ace6c922bb1952a49aebb7c65180b Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Wed, 16 Nov 2016 10:00:44 +0100 Subject: [PATCH] contrib/docker: add minimal example config file --- contrib/docker/Dockerfile | 2 +- contrib/docker/collectd.conf.d/sample.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 contrib/docker/collectd.conf.d/sample.conf 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 -- 2.30.2