This tool is a wrapper for speedtest-cli which allows you to run periodic speedtets and save the results to Influxdb
Key | Description |
---|---|
Delay | Seconds between speedtests (default 30 min) |
Key | Description |
---|---|
Address | InfluxDB host or container name |
Port | InfluxDB port default 8086 |
Database | Database to write collected stats to |
Username | User that has access to the database |
Password | Password for above user |
Key | Description |
---|---|
Servers | Comma sperated list of servers 0001,0002. Leave blank for auto |
Mode | How list is treated, all - runs speedtest on all servers, select - selects best server from list, exclude - ensure listed servers are not used |
Share | Upload results to speedtest.net and retrieve url |
Secure | Runs speedtest over HTTPS |
Key | Description |
---|---|
Level | Set how verbose the console output is |
influxdb version 1.8.4 or before
Docker Compose docker-compose.yml example contains config including these requirements
download and configure config.ini in the same directory as your docker-compose file
Manual
--name="speedtest" \
-v config.ini:/src/config.ini \
--restart="unless-stopped" \
winklevos/speedtest-for-influxdb-and-grafana
- Clone repo https://github.com/winklevos/Speedtest-for-InfluxDB-and-Grafana.git
- Install required Python modules
pip install -r requirements.txt
- Create config.ini
cp config.ini-dist config.ini
or rename if not developing - Configure
config.ini
./influxspeedtest.py