DEV Community

Discussion on: Install Grafana/InfluxDB/Telegraf using Docker Compose

Collapse
 
ptrg0 profile image
Piotrek

Hi, just wanted to let you know your this tutorial doesn't work anymore. There are some changes in influxdb configuration from version 2.0. When I used your code examples, Telegraf reported 401 Unauthorized every time it wanted to post anything to influx.

If anyone is struggling with it like I was: you need to specify older version of docker image. In docker compose use image: influxdb:1.8-alpine.

Collapse
 
project42 profile image
Project-42

Sorry to hear that, and thanks for pointing it out.
It has been a while since I tried it, maybe will try newer version in the future :)