Skip to content
/ Alive Public

Small script to provide mail notifications when a website goes down (or up)

Notifications You must be signed in to change notification settings

Zitrax/Alive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage: alive.py [options]

This script takes as input one or several URLs and checks with wget if they
can be accessed.

Options:
  -h, --help            show this help message and exit
  -u URL, --url=URL     URL(s) to try to retrieve. You can write several URLs
                        separated by space, but remember to quote the string.
  -q, --quiet           Avoid all non warning prints
  -n, --nocolor         Don't output colored text
  -d, --debug           Print debug messages
  -f FROM, --from=FROM  from email address
  -t TO, --to=TO        to email address - If specified an email will be sent
                        to this address if the site is down
  -c CONFIGFILE, --config=CONFIGFILE
                        The configuration file. By default this is alive.cfg
                        in the current directory.
  -k, --test-known      Test all existing URLs in the cfg file.
  -l, --list            List known URLs in the config file.
  -s, --strict          Strict ordering. Output can be slightly slower but
                        guarantees that the site with shortest response time
                        is printed first.

Info

  • Code Quality
  • Build Status
  • Coverage Status

About

Small script to provide mail notifications when a website goes down (or up)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages