Skip to content

Latest commit

 

History

History
115 lines (86 loc) · 5.45 KB

File metadata and controls

115 lines (86 loc) · 5.45 KB

Speedtest.net Collector For InfluxDB and Grafana

Screenshot

This tool is a wrapper for speedtest-cli which allows you to run periodic speedtets and save the results to Influxdb

Configuration within config.ini

GENERAL

Key Description
Delay Seconds between speedtests (default 30 min)

INFLUXDB

Key Description
Address InfluxDB host or container name
Token InfluxDB2.0 Token with Read/Write
Organization InfluxDB2.0 Organization to connect to
Bucket InfluxDB2.0 Bucket to write to
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

SPEEDTEST

Key Description
Server Comma sperated list of servers. Leave blank for auto
Share Upload results to speedtest.net and retrieve url

LOGGING

Key Description
Level Set how verbose the console output is

Requirements

influxdb

grafana

Usage

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" \
mils180/speedtest-for-influxdb-and-grafana

**Special Thanks to Winklevos for the latest code