Skip to content

Seedtest_exporter

see also ~/Howtos/network/performance/speedtest.md

librespeed

openwrt

On laptop:

cd ~/projects/network/performance/prometheus-librespeed-exporter
scp librespeed-exporter.sh root@_gateway:/tmp

On router:

opkg install bash jq prometheus-node-exporter-lua-textfile
/etc/init.d/prometheus-node-exporter-lua restart
mkdir /var/prometheus
ln -s /tmp/librespeed-exporter.sh /usr/bin/librespeed-exporter.sh
/tmp/librespeed-exporter.sh > /var/prometheus/librespeed.prom

speetest.net

billimek/prometheus-speedtest-exporter

Start exporter:

podman run --rm --publish 9469:9469 billimek/prometheus-speedtest-exporter:sha-243c8eb

Run speedtest:

curl 'localhost:9469/probe?script=speedtest'

Other images

Deprecated / stale / old

jeanralphaviles/prometheus_speedtest

Based on sivel/speedtest-cli, a python speedtest implementation (last updated 2021).

 docker run --rm -d --name prometheus_speedtest -p 9516:9516/tcp jraviles/prometheus_speedtest:latest
curl -m 180 localhost:9516/probe

nlamirault/speedtest_exporter

  • deprecated go speedtest library.
  • No activity since Aug 2019.

    docker run -p 9112:9112 nlamirault/speedtest_exporter curl --max-time 180 localhost:9112/metrics

Issues:

  • Breaks after client timeout (when using curl without increasing the timeout)