This repository contains Dockerfile of Collectd for Docker's automated build published to the public Docker Hub Registry.
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull puckel/docker-collectd
Alternatively, you can build an image from Dockerfile
In addition with puckel/docker-graphite or puckel/docker-influxdb, a basic collectd-based server monitoring. Sends stats to a container named "graphite", "influx" or both. You can specify your collectd hostname with "-e HOST_NAME=YOURHOSTNAME" otherwise "Hostname" in collectd.conf will be the container name :
With Graphite:
docker run -d \
--link graphite:graphite \
--name collectd-HOSTNAME \
-e HOST_NAME=YOURHOSTNAME
puckel/docker-collectd
With InfluxDB:
docker run -d \
--link influxdb:influxdb \
--name collectd-HOSTNAME \
-e HOST_NAME=YOURHOSTNAME
puckel/docker-collectd
Both:
docker run -d \
--link graphite:graphite \
--link influxdb:influxdb \
--name collectd-HOSTNAME \
-e HOST_NAME=YOURHOSTNAME
puckel/docker-collectd