Skip to content

Instantly share code, notes, and snippets.

@lottspot
lottspot / http_check.py
Last active October 1, 2015 05:08
A nagios-like HTTP check which can import a python callable to handle a critical threshold
#!/usr/bin/python
import Queue
import threading
import time
import sys, os
from urllib import urlopen
import logger
# check_http.py
# $1: SCHEME

Keybase proof

I hereby claim:

  • I am lottspot on github.
  • I am lottspot (https://keybase.io/lottspot) on keybase.
  • I have a public key whose fingerprint is C908 CC37 93F4 98FE 98AD 9DC4 443E A8D6 A536 53A9

To claim this, I am signing this object: