# Speedtest for InfluxDB

Speedtest for InfluxDB is a Docker container that runs speedtest-cli periodically and stores the results in an InfluxDB database, letting homelab users track internet performance over time in Grafana dashboards. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/994/speedtest-for-influxdb

## Description

Speedtest for InfluxDB is a Docker container that runs speedtest-cli periodically and stores the results in an InfluxDB database, letting homelab users track internet performance over time in Grafana dashboards.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

22/100 (Low), based on 4 of 4 factors.
- Maintained: 0 (last commit 2595 days ago)
- Popular: 43 (144 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 30 (4 GB minimum RAM)

## Links

- Docker Hub: https://hub.docker.com/r/barrycarey/speedtest-for-influxdb-and-grafana
- Unraid: https://ca.unraid.net/apps/speedtestforinfluxdb-16yryva1eld95u?q=SpeedtestforInfluxDB

## Common questions

### How can I use a config file with a different name in the container?

Set the environment variable influxspeedtest to the config file name you want the container to read.

### How do I make the collector write to my InfluxDB instance?

In config.ini, set Address to your InfluxDB host or IP, Port usually to 8086, and provide Database, Username, and Password.

### Can I force it to test specific speedtest servers?

Yes, put a comma-separated list of servers in the SPEEDTEST Server key, or leave it blank for automatic selection.

### How should I run the container so it uses my configuration file?

Mount the host config.ini file to /src/config.ini and run the container with a restart policy such as always.

### How do I change how often speed tests run?

Set the Delay key in the GENERAL section of config.ini; it controls the delay between runs.

---
Source: Our Local Host (https://ourlocalhost.com/app/994/speedtest-for-influxdb), the self-hosted and open-source app directory.
