Sign inSign up

dbsqp/speedtest-influxdbv2

By dbsqp

•Updated 6 months ago

Runs Ookla's Speedtest CLI program and push it to an InfluxDBv2 bucket.

Image
1

1.4K

dbsqp/speedtest-influxdbv2 repository overview

Do speedtest using Ookla's official CLI program and push results into influxdb bucket. Based on loganmarchione's docker-speedtest-influxdbv2. Updated for aligned Influxdb format with my other API InfluxDB containers.

Note does not build for arm64 target, see dockerfile and workflow yml for for more info.

⁠InfluxDBv2 Setup

Setup InfluxDBv2, create bucket and create a token with write permissions for said bucket.

⁠Docker Setup

$ docker run -d \
 -e EXPECTED_DOWN="<expected isp upload>" \
 -e EXPECTED_UP="<expected isp upload>" \
 -e SPEEDTEST_SERVER="<Speedtest server id>" \
 -e SPEEDTEST_PERIOD="60" \
 -e INFLUXDB2_HOST="<INFLUXDBv2 SERVER>" \
 -e INFLUXDB2_PORT="8086" \
 -e INFLUXDB2_ORG="Home" \
 -e INFLUXDB2_TOKEN="" \
 -e INFLUXDB2_BUCKET="DEV-Speedtest" \
 --name "Influx-Speedtest" \
dbsqp/speedtest-influxdbv2:latest

Note: EXPECTED_DOWN, EXPECTED_UP, SPEEDTEST_SERVER and SPEEDTEST_PERIOD are optional. Default and recomended period is 1 hour = 3600.

⁠Debug

To report out further details in the log enable debug:

 -e DEBUG="true"

Tag summary

Content type

Image

Digest

sha256:feecc874d…

Size

127.6 MB

Last updated

6 months ago

docker pull dbsqp/speedtest-influxdbv2