Skip to content

Instantly share code, notes, and snippets.

@sggottlieb
sggottlieb / keybase.md
Created September 9, 2016 10:55
Keybase Gist

Keybase proof

I hereby claim:

  • I am sggottlieb on github.
  • I am sggottlieb (https://keybase.io/sggottlieb) on keybase.
  • I have a public key whose fingerprint is 22C3 CF22 5EC7 DF72 1E12 2B60 4022 886F C9D9 B719

To claim this, I am signing this object:

@sggottlieb
sggottlieb / SiteChecker.py
Created February 4, 2013 21:31
This is a ServerDensity Plugin that replaces a script that sends an email to tell me that the disaster recovery sites are running.
"""
This is a Server Density Plugin that checks to make sure
a set of websites are running on the local host. All
of the domains are mapped to localhost in /etc/hosts/
The reason for this plugin is described in this blog post:
http://www.contenthere.net/2013/01/monitoring-your-hot-standby.html
"""