Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Monitor anything and get notifications directly on your iPhone

Project description

crash_hound

Crash Hound lets you script monitoring and lets you receive notifications directly on your mobile phone.

It works via Tropo and a http://tropo.com acocunt is required.

For more information check out:

To install it do following:

sudo easy_install crash_hound

Examples

Registers:

from crash_hound import CrashHound, ReportCrash, CommonChecks, SenderTropo

def check_fn():
    if 42:
        raise ReportCrash('42 is true!')
    else:
        pass #Ignore

crash_sender = SenderTropo('YOUR TROPO.COM API KEY',
                           '+56 ... YOUR MOBILE NUMBER ...')

crash_checker = CrashHound(crash_sender)

crash_checker.register_check('42 Checker',
                             check_fn,
                             notify_every=60)

crash_checker.register_check('Google.com Blah test',
                             lambda: CommonChecks.website_check('http://google.com/blah'),
                             notify_every=60)

crash_checker.run_checks(check_interval=10)

Copyright: 2011 by amix License: BSD.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for crash_hound, version 2.2
Filename, size File type Python version Upload date Hashes
Filename, size crash_hound-2.2-py2.7.egg (8.2 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size crash_hound-2.2.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page