sdr-enthusiasts / gitbook-adsb-guide

Guide to aircraft tracking using ADS-B reception with SDR & docker containers. Published on GitBook.
https://sdr-enthusiasts.gitbook.io/ads-b/
Other
127 stars 54 forks source link

influxdbv2 telegraf error (not included?) #153

Open ckuhtz opened 3 months ago

ckuhtz commented 3 months ago

Hi there,

I submitted PR #152 with some doc fixes for the variable names for the InfluxDB v2 configuration. I'm setting the .env with an INFLUXDBV2TOKEN environment variable for the token for this client and have the following in my docker-compose for the ultrafeeder service:

      - INFLUXDBV2_URL='http://influxdb.local:8086/'
      - INFLUXDBV2_BUCKET=adsb
      - INFLUXDBV2_ORG=foo
      - INFLUXDBV2_TOKEN=${INFLUXDBV2TOKEN}

I believe the configuration is correct, but I don't see any data in Influxdb's data explorer. I do see this from the ultrafeeder container, however:

/opt/adsb$ docker logs ultrafeeder| grep telegraf
s6-rc: info: service telegraf: starting
s6-rc: info: service telegraf successfully started
[2024-08-05 19:25:04.101][telegraf] WARNING: InfluxDB/Prometheus parameters are set but Telegraf not included in this container

Did I do something wrong? If so, what? :-) The image I'm pulling is

image: ghcr.io/sdr-enthusiasts/docker-adsb-ultrafeeder

per the guidance in the doc.

Thanks, Christian

ckuhtz commented 3 months ago

https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder says at the very bottom:

NOTE - READ CAREFULLY: As of 27 April 2023, the latest image no longer contains Telegraf. If you want to send metrics to InfluxDB or Prometheus, please use this image:

These docs should be updated?

ckuhtz commented 3 months ago

And the error message improved to point out to use the tag :telegraf ? (as well as don't say it was started but then give a warning that telegraf doesn't exist)