-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Allyn Treshansky
committed
Apr 4, 2016
1 parent
fc10195
commit d334d48
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
# check_sites | ||
simple python script for checking whether websites are up | ||
|
||
uses 2 simple configuration files: | ||
* "check_sites.conf": specifies the email settings to be used | ||
* "check_sites.json": specifies the sites to check | ||
|
||
takes 2 arguments: | ||
* -f <file>: specifices the path to "check_sites.json" | ||
* -v: specifies "verbose" mode (in non-verbose mode, an email is only sent if any sites DO NOT return a status code of 200) | ||
|
||
best used w/ cron to check a set of websites automatically |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters