speedtest tests your internet connection using cli provided by Ookla.
- Docker Registry @ gandarez/speedtest
- GitHub @ gandarez/speedtest
Run docker with a mounted volume:
docker run --rm -ti -v `pwd`/results:/app/results gandarez/speedtestAlternatively 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/speedtestEvery run you'll get a raw json file and a consolidated csv file.
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/speedtestBetter 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/speedtestAny comment, bug report and pull request are more than welcome.
Made with ❤️ by Gandarez