Pages

Wednesday, January 3, 2018

Detect and log when the internet is down with netDown.py

This a little python script that I wrote to help me troubleshoot my internet connection.



netDown.py checks periodically if the connection is OK, and if it isn't, it logs it to ta text file with the date and time when the fail was detected. Here's and example of the output:


At the top, there are 3 parameters that you can modify to change the way the script works to suit your needs.

Download:
https://drive.google.com/open?id=1EHlOJRfF4XDSwSjTW2bk_k9OO8_dZNHm

No comments:

Post a Comment