A simple and easy-to-use Telegraf docker container
1.9K
A simple and easy-to-use Telegraf docker container.
Current version: 0.2.0
The default configuration template (telegraf.conf.template) has been set with the following settings:
flush_interval = 10s
flush_jitter = 5s
Following parameters can be overridden (see Configuration section):
node = "node"
interval = 1s
[[outputs.influxdb]]
urls = ["http://localhost:8086"]
database = "metrics"
precision = "s"
user = "root"
password = "root"
Simply run this command on your host:
docker run -t loicortola/telegraf
Multiple environment variables can be set to better configure your Telegraf container.
Examples:
docker run -t -e "HOST=influx.loicortola.com" -e "USER=metrics" -e "PASSWORD=1234password" loicortola/telegraf
docker run -t -e "NODE_NAME=local" -e "DB=localmetrics" -e "INTERVAL=10s" -e "PORT=8111" loicortola/telegraf
Content type
Image
Digest
Size
81.6 MB
Last updated
over 10 years ago
docker pull loicortola/telegraf