grafana/docker/blocks/collectd
2016-05-28 10:13:51 +02:00
..
collectd.conf.tpl docker(): added collectd system metrics collector that writes to graphite, just for testing 2016-05-28 10:13:51 +02:00
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
fig 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