Is it possible to run a speedtest every X time. To check your internet connection.
Speedtest-cli can give a simple view with the results. It should be nice to create a graph with the Ping, Download and Upload results.
sven@NUCi3:~$ speedtest-cli --server 10389 --simple
Ping: 17.658 ms
Download: 97.27 Mbit/s
Upload: 15.13 Mbit/s