In our inputs.http file we are using cookie authentication to connect to a device. When the device is not reachable the agent fails and Telegraf stops. This is creating another problem because that means that it stops the entire telegraf service even though it is only one single config file that is a problem. Is there a way to just print out an error for a cookie failure instead of it crashing the agent?
Error when it stops:
[telegraf] Error running agent: could not initialize input inputs.http: Post “URL******”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)