Simple, easy to use site monitor written in Python
Python
Latest commit 49a1b2d Dec 28, 2015 @sanbornm Merge pull request #14 from ilyh/master
add python3 support, tested on python3.4.3
Permalink
Failed to load latest commit information.
.gitignore removed system specific gitignore line Nov 19, 2010
README
sitemonitor.py
smstat.py Simple script that prints out data.pkl in a human-readable format. So… Mar 14, 2011

README

Usage: sitemonitor.py [options] url

Options:
  -h, --help            show this help message and exit
  -t, --log-response-time
                        Turn on logging for response times
  -r, --alert-on-slow-response
                        Turn on alerts for response times
  --timeout=TIMEOUT     Set the timeout amount (in seconds).
  -g, --use-gmail       Send email with Gmail.  Must also specify username and
                        password
  --smtp-hostname=SMTP_HOSTNAME
                        Set the stmp server host.
  --smtp-port=SMTP_PORT
                        Set the smtp server port.
  -u SMTP_USERNAME, --smtp-username=SMTP_USERNAME
                        Set the smtp username.
  -p SMTP_PASSWORD, --smtp-password=SMTP_PASSWORD
                        Set the smtp password.
  -s FROM_ADDR, --from-addr=FROM_ADDR
                        Set the from email.
  -d TO_ADDRS, --to-addrs=TO_ADDRS
                        List of email addresses to send alerts to.
  -f FROM_FILE, --from-file=FROM_FILE
                        Import urls from a text file. Separated by newline.