Fetch Docker containers stats with Collectd and forward them to a Logstash server
1.6K
Collectd container with docker-collectd-plugin.
This uses the Docker API to report stats for each container on the host.
The following container stats are reported:
The name of the container is used for the plugin_instance dimension.
In this setup, Collectd is configured to send data to a Logstash instance.
sudo docker run \
--volume=/var/run/docker.sock:/var/run/docker.sock \
--detach=true \
--name=collectd \
--env LOGSTASH_SERVER=[CUSTOM_IP] \
--env LOGSTASH_PORT=25826 \
creativearea/collectd
Content type
Image
Digest
sha256:e8a151af6…
Size
187.5 MB
Last updated
about 11 years ago
docker pull creativearea/collectd