Sign inSign up

funfin/collectd

By funfin

•Updated over 9 years ago

collectd - fork from oisis/collectd

Image
0

1.6K

funfin/collectd repository overview

⁠Collectd Docker

This repository contains Dockerfile of Collectd⁠ and other scripts for Docker⁠'s.

⁠Base Docker Image
⁠Installation
  1. Install Docker⁠.

  2. Pull image from Docker hub(https://hub.docker.com/⁠):

docker pull puckel/docker-collectd

  1. Alternatively build an image from Dockerfile⁠:

docker build -t oisis/collectd .

⁠Usage

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 :

  • Run with Graphite support:
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
  • Run with InfluxDB support:
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
⁠Supported variables:
  • HOST_NAME: Host name
  • RUN_INTERVAL: How often to run plugins
  • GRAPHITE_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)

Tag summary

Content type

Image

Digest

Size

228.4 MB

Last updated

over 9 years ago

docker pull funfin/collectd