X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=contrib%2FREADME;h=6e2ea19e2ab676daaf182082415f967895297466;hp=897d61978c32532c535d635cf96c1bdac781007e;hb=master;hpb=12f249b209d7fa31e3a9d53315e47a2342463e0f diff --git a/contrib/README b/contrib/README index 897d6197..6e2ea19e 100644 --- a/contrib/README +++ b/contrib/README @@ -17,6 +17,11 @@ collectd-network.py in pure Python. It currently supports to receive data and notifications from collectd. +collectd.service +---------------- + Service file for systemd. Please ship this file as + /lib/systemd/system/collectd.service in any linux package of collectd. + collectd-unixsock.py -------------------- This Python module by Clay Loveless provides an interface to collect's @@ -44,6 +49,21 @@ should look something like this: datadir: "/var/lib/collectd/rrd/" libdir: "/usr/lib/collectd/" +docker/ +------- +Sample docker setup using an LD_PRELOAD wrapper to redirect system calls +accessing /proc and /sys to prefixed bind-mounts inside the container. + +Drop your collectd configuration snippets in the +contrib/docker/collectd.conf.d/ directory, and build an image including them: + $ docker build -t my_collectd ./contrib/docker/ + +Then run it with the required bind-mounts: + $ docker run -it --rm \ + -v /proc:/rootfs/proc:ro -v /sys:/rootfs/sys:ro \ + --name collectd my_collectd + $ docker exec -it collectd collectdctl listval + exec-munin.px ------------- Script to be used with the exec-plugin (see collectd-exec(5) for details) @@ -96,8 +116,3 @@ solaris-smf ----------- Manifest file for the Solaris SMF system and detailed information on how to register collectd as a service with this system. - -collectd.service ----------------- - Service file for systemd. Please ship this file as - /lib/systemd/system/collectd.service in any linux package of collectd.