Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 789 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 789 Bytes

Collectd Docker Container

This container will report statistics of a Docker host to a collectd server.

Usage

Since the hostname for a Docker container is automatically generated, it's recommended that you set it explicitly using the -h argument.

Environment Variables

Variable Default Description
HOSTNAME <generated> The hostname you wish to report to collectd
COLLECTD_HOST 127.0.0.1 The address of the collectd server you wish to forward stats to
COLLECTD_PORT 25826 The port of the collectd server

Example

docker run \
  -h $(uname -n) \
  -e "COLLECTD_HOST=192.168.99.100" \
  -e "COLLECTD_PORT=12345" \
  michieldemey/collectd