I took the original telegram.conf and changed the rights with
“sudo chmod -v a+rwx /etc/telegraf/telegraf.conf”
Then I entered my values for urls (IP), token, organization and bucket in this file at [[outputs.influxdb_v2]].
The “#” was removed, of course. Then “sudo systemctl start telegraf”
and “sudo systemctl enable telegraf”
Now I’m looking on the Internet for a telegram.conf that provides all the values for the dashboards that you can download from the web.
I couldn’t find a configured telegraf.conf. I downloaded the “Telegraf with Flux” dashboard (18081_rev1.json), imported it and adapted it. I then gradually activated the parameters in the telegraf.conf that were important to me. After each change, I checked that it was working with “sudo systemctl stop telegraf” “sudo systemctl start telegraf” “sudo systemctl status telegraf”. There should be no error messages.