grafana/docker/blocks/collectd
2017-10-31 18:59:27 +05:30
..
collectd.conf.tpl tech(): updated list of docker stuff 2016-06-22 11:01:11 +02:00
docker-compose.yaml Transitioning fig to docker-compose v3 2017-10-31 18:59:27 +05:30
Dockerfile docker(): added collectd system metrics collector that writes to graphite, just for testing 2016-05-28 10:13:51 +02:00
etc_mtab docker(): added collectd system metrics collector that writes to graphite, just for testing 2016-05-28 10:13:51 +02:00
README.md docker(): added collectd system metrics collector that writes to graphite, just for testing 2016-05-28 10:13:51 +02:00
start_container docker(): added collectd system metrics collector that writes to graphite, just for testing 2016-05-28 10:13:51 +02:00

collectd-write-graphite

Basic collectd-based server monitoring. Sends stats to Graphite.

Collectd metrics:

  • CPU used/free/idle/etc
  • Free disk (via mounting hosts '/' into container, eg: -v /:/hostfs:ro)
  • Disk performance
  • Load average
  • Memory used/free/etc
  • Uptime
  • Network interface
  • Swap

Environment variables

  • HOST_NAME
    • Will be sent to Graphite
    • Required
  • GRAPHITE_HOST
    • Graphite IP or hostname
    • Required
  • GRAPHITE_PORT
    • Graphite port
    • Optional, defaults to 2003
  • GRAPHITE_PREFIX
    • Graphite prefix
    • Optional, defaults to collectd.
  • REPORT_BY_CPU
    • Report per-CPU metrics if true, global sum of CPU metrics if false (details: collectd.conf man page)
    • Optional, defaults to false.
  • COLLECT_INTERVAL
    • Collection interval and thus resolution of metrics
    • Optional, defaults to 10