Skip to content

A Python tool for monitoring network connectivity and detecting potential service outages using scheduled HTTP requests to Google.

License

Notifications You must be signed in to change notification settings

jromero132/network-outage-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Outage Check

Buy Me a Coffee Made with Python


Note

This is a very simple and naive, yet effective way to check whether you have an internet connection or not. This project is only intended for personal use.

Overview

A Python tool for monitoring network connectivity and detecting potential service outages using scheduled HTTP requests to Google.

Features

  • Periodic network availability checks
  • HTTP request-based connectivity testing
  • Logging of network status

Prerequisites

  • Python 3.8+
  • pip

Installation

git clone https://github.com/jromero132/network-outage-check.git
cd network-outage-check
pip install -r requirements.txt

Dependencies

  • requests (>=2.32.3, <2.33)
  • schedule (>=1.2.2, <1.3)

Running the Project

In order to run the project, just run the following command:

python main.py

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License - see the license file for details.

Happy Coding! 🚀