Simple python CLI app that pings a list of websites at a set intervall and logs downtime. If the downtime has been longer than a set threshold, emails will be sent out to a set list of receivers.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
a2gchecker.py

README.md

PyDowntime

Checks a list of websites to see if they are up. If one is down an email is sent to the recievers set in the script. A flatfile and JSON is used to store whether the site was down last time the check was done so as to avoid spamming the email receivers. Run this as a cron job at regular intervals. Written quickly and dirty AKA functionally.

Copyright: A2G Grafisk

Author: David Ed Mellum david@edmellum.com (http://edmellum.com)

License: MIT