Sign inSign up

paperg/collectd

By paperg

•Updated almost 11 years ago

Collect system metrics and send to Graphite

Image
0

2.4K

paperg/collectd repository overview

⁠collectd

This container implements collectd⁠, a daemon for collecting metrics on the host where its running and then sending them places.

The following environment variables configure its operation:

  • GRAPHITE_HOST (required)
  • GRAPHITE_PORT (optional, default 2003)
  • GRAPHITE_PROTOCOL (optional, default tcp)
  • METRIC_PREFIX (optional)
  • HOSTNAME (optional)
  • METRIC_POSTFIX (optional)

The names of the metrics will be determined by concatenating METRIC_PREFIX, HOSTNAME, and METRIC_POSTFIX, in that order. collectd won't add any dots, so METRIC_PREFIX should probably end in a dot, and METRIC_POSTFIX should begin with a dot. HOSTNAME defaults to the container's hostname, and since that's usually just a random number, you probably want to set it explicitly.

Protip: systemd expands %H in a unit file to the hostname.

Tag summary

Content type

Image

Digest

sha256:e3157a37c…

Size

46.1 MB

Last updated

almost 11 years ago

docker pull paperg/collectd