Telegraf InfluxDB v2.6.1 configuration problem Raspberry Pi System Template

Template: Raspberry Pi System Template

Describe the problem
Error unsupported scheme $INFLUX

To Reproduce
Steps to reproduce the behavior:

  1. Installation like this Tutorial
  2. influx config create --config-name influx-config \ --host-url \ --org myOrganization \ --token dSar9XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXcensoredXXXXXXXXXXXX== \ --active
  3. pi@openplotter:~ $ telegraf --config 2023-03-25T18:35:23Z I! Loading config url: 2023-03-25T18:35:23Z I! Starting Telegraf 1.26.0 2023-03-25T18:35:23Z I! Available plugins: 235 inputs, 9 aggregators, 27 processors, 22 parsers, 57 outputs, 2 secret-stores 2023-03-25T18:35:23Z I! Loaded inputs: cpu disk diskio exec mem net processes swap system temp 2023-03-25T18:35:23Z I! Loaded aggregators: 2023-03-25T18:35:23Z I! Loaded processors: 2023-03-25T18:35:23Z I! Loaded secretstores: 2023-03-25T18:35:23Z I! Loaded outputs: influxdb_v2 2023-03-25T18:35:23Z I! Tags enabled: host=openplotter 2023-03-25T18:35:23Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"openplotter", Flush Interval:10s 2023-03-25T18:35:23Z E! [agent] Failed to connect to [outputs.influxdb_v2], retrying in 15s, error was "unsupported scheme [\"$INFLUX_HOST\"]: \"\"" 2023-03-25T18:35:38Z E! [telegraf] Error running agent: connecting output outputs.influxdb_v2: error connecting to output "outputs.influxdb_v2": unsupported scheme ["$INFLUX pi@openplotter:~ $ echo $INFLUX_HOST

Expected behavior
Starting telegraf

what am i doing wrong? Thank´s for your tips.

How are you running InfluxDB?

  • InfluxDB v2.6.1 on my local machine

Hello @Slin-nilS,
Can you please share your telegraf confg here?
Thank you

Hey @Anaisdg,

yes I want to. But as a new user I´m not allowed to upload .txt attachments and for the post it´s to long.

Can help me a @admins? Thank you.

@Anaisdg I uploaded the confg here.

Thank you