Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.58 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.58 KB

speedtest

Docker Stars Docker Pulls

speedtest tests your internet connection using cli provided by Ookla.

Upstream Links

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 ❤️ by Gandarez