This repository contains Dockerfile of Collectd and other scripts for Docker's.
Install Docker.
Pull image from Docker hub(https://hub.docker.com/):
docker pull puckel/docker-collectd
docker build -t oisis/collectd .
In addition with puckel/docker-graphite or tutum/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 :
docker run -d --link graphite:graphite \
--name collectd -e HOST_NAME=YOURHOSTNAME \
-e GRAPHITE_HOST=127.0.0.1 -e GRAPHITE_PORT=2003 \
oisis/collectd
docker run -d --link influxdb:influxdb \
--name collectd -e HOST_NAME=YOURHOSTNAME \
-e INFLUXDB_HOST=127.0.0.1 -e INFLUXDB_PORT=8086 \
oisis/collectd
Run with OpenTSDB support:
docker run -d --link opentsdb:opentsdb \
--name collectd -e HOST_NAME=YOURHOSTNAME \
-e OPENTSDB_HOST=opentsdb -e OPENTSDB_PORT=4242 \
oisis/collectd
HOST_NAME: Host nameRUN_INTERVAL: How often to run pluginsGRAPHITE_HOST: Graphite host address(default localhost)GRAPHITE_PORT: Graphite host port (default 2003)INFLUXDB_HOST: InfluxDB host address(default localhost)INFLUXDB_PORT: InfluxDB host port (default 8086)OPENTSDB_HOST: OpenTSDB host address(default localhost)OPENTSDB_PORT: OpenTSDB host port (default 4242)LOGSTASH_HOST: Logstash host address(default localhost)LOGSTASH_PORT: Logstash host port (default 25826)Content type
Image
Digest
Size
228.4 MB
Last updated
over 9 years ago
docker pull funfin/collectd