Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Telegraf startup -- retry failed server connections #187
An issue I've noticed is that if the agent is unable to connect to an output initially, it exits. This came up on a restart of our server which runs influxdb. This server (Centos 6) also runs a telegraf agent. Both influxdb and telegraf were configured to start on boot, however, it appears that when telegraf started, influxdb was not ready to talk, so telegraf logged an error and exited. It might be good for telegraf to have a back-off and retry strategy for initially connecting to outputs.