network-speed-monitor
network-speed-monitor copied to clipboard
A network speed monitoring dashboard built with InfluxDB, Grafana, and Speedtest CLI
Network Speed Monitor Docker
A network speed monitoring stack that built with InfluxDB, Grafana and Speedtest CLI
Prerequisite
- Docker & Docker-compose installed
- Git installed
Getting started
- Clone this repo
- Update
.envfile following the guide below - Run
docker-compose up -d - Visit
http://localhost:<GRAFANA_PORT>to view the statistics. The default credentials areadmin:admin, Grafana will ask you to change your password the first time
Update env file
- Run
cp .env.sample .envand change the environment variables as you wish in.env - Get
SPEEDTEST_SERVER_IDvalue from this link - Config
CRON_CONFIGfollowing node-cron syntax. I recommend to start with 1 minute to see the first few test quickly, then finally increase it to your desired time. Personally, I use1 * * * *(each hour) as I think it would be more than enough. Every time you change the.envfile, rundocker-compose up -d --buildto rebuild the image.
Showcase
