Sign inSign up

marckumar/networkmonitor

By marckumar

•Updated almost 3 years ago

Image
0

157

marckumar/networkmonitor repository overview

DockerHub Description for Networkmonitor - Internet Failure Detection and Powercycle

Networkmonitor - Internet Failure Detection and Powercycle

Overview: Networkmonitor is a Go program designed for Internet Failure Detection and Powercycle automation. It allows users to monitor their router's internet connection by periodically checking a specified URL. In the event of an internet failure, Networkmonitor automatically triggers a power cycle on a Tasmota-compatible plug connected to the network. This automation eliminates the need for manual intervention and efficiently resolves common network issues.

Key Features:

  • Lightweight and efficient Go program
  • Periodic internet connection checks using a user-defined URL
  • Automated power cycle on a Tasmota-compatible plug for fast issue resolution
  • Configurable check interval and Tasmota device IP address
  • Dockerized for easy deployment and minimal resource usage (approximately 3MB RAM)
  • Environment variable configuration for flexibility

How to Use:

  1. Pull the Networkmonitor Docker image from DockerHub. The image is small, and when unpacked, it is approximately 7MB in size:
    docker pull marckumar/networkmonitor
    
  • The container requires less than 3MB of RAM to run efficiently, making it lightweight and suitable for resource-constrained environments.
  1. Set the required environment variables while running the Docker container:
    docker run --name networkmonitor_container -e check_url=your_url -e check_interval=your_interval -e tasmota_ip=your_device_ip your_username/networkmonitor
    

Configuration (Environment Variables):

  • check_url: The URL used for internet connection checks.
  • check_interval: The time interval (in seconds) for checking the internet connection.
  • tasmota_ip: The IP address of your Tasmota-compatible plug.

Contribution and License:

  • Contributions are welcome! Feel free to open issues or submit pull requests on the GitHub repository.
  • This project is licensed under the MIT License.

GitHub Repository: github.com/MarcKumar/networkmonitor⁠

License Information: MIT License. For more details, see the LICENSE file in the GitHub repository.


Thank you for considering Networkmonitor - Internet Failure Detection and Powercycle for your network automation needs. If you have any questions or need support, please don't hesitate to reach out. Happy monitoring and automating!

Tag summary

Content type

Image

Digest

sha256:5b8a1f447…

Size

3.8 MB

Last updated

almost 3 years ago

docker pull marckumar/networkmonitor