Due to intermittent issues with my internet, I've decided to create a monitoring stack that would show me how often the internet goes down.
The shell script periodically pings Google's DNS and writes latency information to a postgres database. If there was no response within 1 second, it means the internet should be down. This data is then queried by the grafana instance.
Just clone the repo and run ./start.sh, you need to have docker running.
❗grafana login data:
- admin/admin
- user/user
Once all the containers start, you should be able to see the dashboard at http://localhost:3001: