selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
Speedtest-for-InfluxDB-and-Grafana logo

Self-host Speedtest-for-InfluxDB-and-Grafana

Periodic speedtest collector for InfluxDB and Grafana

AlphaOpen Source
Updated4 years ago
LanguagePython
Setup difficultyEasy
Stars
144
Requires
InfluxDB
Docker
barrycarey/speedtest-for-influxdb-and-grafana
Install with Docker
Grafana dashboard showing speed test results over time

What is Speedtest-for-InfluxDB-and-Grafana?

Speedtest for InfluxDB and Grafana is a Python wrapper around speedtest-cli that runs periodic internet speed tests and saves the results to an InfluxDB database for visualization in Grafana. It can be run directly with Python 3 or via Docker. Configuration is done through a config.ini file where you set the InfluxDB connection details, test interval, and optional speedtest server selection. The tool requires Python 3+, the influxdb-python library, and speedtest-cli. A Docker image is available on Docker Hub (barrycarey/speedtest-for-influxdb-and-grafana) with a docker-compose example. The project appears unmaintained since 2022 with no formal releases or license file.

Should you self-host Speedtest-for-InfluxDB-and-Grafana?

Speedtest-for-InfluxDB-and-Grafana scores 33/100 on selfhost.directory (how scoring works) and ranks #46 of 48 in Network Monitoring. It has 144 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is written mostly in Python.

Its closest alternative on selfhost.directory is mitmproxy (86/100, 46 441 stars). It scores higher overall, so compare the two before you pick. See Speedtest-for-InfluxDB-and-Grafana vs mitmproxy side by side.

Features

  • Configurable Logging Level
  • Configurable test interval
  • Custom speedtest server selection
  • Environment variable for custom config
  • Grafana visualization
  • Periodic speed tests
  • SSL verification toggle

Speedtest-for-InfluxDB-and-Grafana README

How to install Speedtest-for-InfluxDB-and-Grafana

Install Speedtest-for-InfluxDB-and-Grafana with Docker

Docker

docker run -d
--name="speedtest"
-v config.ini:/src/config.ini
--restart="always"
barrycarey/speedtest-for-influxdb-and-grafana

Requires config.ini mounted at /src/config.ini

How to configure Speedtest-for-InfluxDB-and-Grafana

  • AddressIP or hostname of InfluxDB instance

    IP or hostname of InfluxDB instance

  • DatabasespeedtestsDatabase to write collected stats to

    Database to write collected stats to

  • Delay300Delay between runs in seconds

    Delay between runs in seconds

  • influxspeedtestEnvironment variable to specify custom config file name

    Environment variable to specify custom config file name

  • LevelinfoLog verbosity level

    Log verbosity level

    values: critical, error, warning, info, debug

  • PasswordPassword for above user

    Password for above user

  • Port8086InfluxDB port to connect to

    InfluxDB port to connect to

  • ServerComma separated list of speedtest servers, blank for auto

    Comma separated list of speedtest servers, blank for auto

  • UsernameUser that has access to the database

    User that has access to the database

  • Verify_SSLFalseWhether to verify SSL certificate for InfluxDB connection

    Whether to verify SSL certificate for InfluxDB connection

    values: True, False

More in Network Monitoring

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…