brendancarlson/Simple-Python-Server-Monitor — pull request #2 by Darayus (2013-07-12 02:36:45+00:00)
Title: Better notification

This pull allows the program to remember the last status of the site, so it does not spam up the user's email every minute when the site is down.

It also now emails the user when the site comes back up. This is what a basic flow would look like.

Site goes down - Email sent
Site down
Site down
...
Site back up - Email sent
Site up
Site up
...