Sign inSign up

gandarez/speedtest

By gandarez

Updated about 5 years ago

speedtest tests your internet connection using cli provided by Ookla.

Image
0

341

gandarez/speedtest repository overview

speedtest

Docker Stars Docker Pulls

speedtest tests your internet connection using cli provided by Ookla.

Quick Start

Run docker with a mounted volume:

docker run --rm -ti -v `pwd`/results:/app/results gandarez/speedtest

Alternatively provide a specific server id by setting an environment variable OOKLA_SERVER_ID.

docker run --rm -ti -e OOKLA_SERVER_ID=<id> -v `pwd`/results:/app/results gandarez/speedtest

Every run you'll get a raw json file and a consolidated csv file.

IoTPlotter

The script is prepared to push ping, download and upload bandwidth to the service. In the dashboard create three new graphs and call them as described here.

docker run --rm -ti -e FEED_ID=<id> -e API_KEY=<api_key> -v `pwd`/results:/app/results gandarez/speedtest

Cron Job

Better to keep tracking your internet speed by running it indeterminately as a cron job. Edit your cron by running crontab -e and add the following:

*/30 * * * * docker run --rm -v /path/to/results:/app/results -v /etc/localtime:/etc/localtime:ro gandarez/speedtest

Contributing

Any comment, bug report and pull request are more than welcome.

Made with :heart: by Gandarez

Tag summary

Content type

Image

Digest

Size

5.6 MB

Last updated

about 5 years ago

docker pull gandarez/speedtest