Tiny node.js service to measure the internet download/upload speed at a given interval and save it to InfluxDb.
$ docker pull stefanwalther/speedy
Environment variable to set the configuration of speedy:
SPEEDY_DB_HOST
- InfluxDB hostSPEEDY_DB_NAME
- InfluxDB database nameSPEEDY_DB_PORT
- InfluxDB portSPEEDY_INTERVAL
- Defines how often the job should run; see cron-jobs for more details (defaults to* * * * *
, which equals to run the job every minute; see below)SPEEDY_MAX_TIME
- Max timeout for the speed-test (defaults to5000
)
The interval is defined by using the cronjob syntax.
* * * * *
- every minute*/5 * * * *
- every 5 minutes0 * * * *
- every hour- ...
Hint: Use this great online editor to get the desired value: https://crontab.guru/