You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 months ago | |
---|---|---|
.gitignore | 5 months ago | |
LICENSE | 5 months ago | |
README.md | 5 months ago | |
mail_template | 5 months ago | |
status-check.sh | 5 months ago |
README.md
ICanHasServer
Monitor and report on the status of a list of servers.
Any servers in a list of urls
that yield a bad response are collated and sent
via email to all recipients.
The urls
along with a list of recipients
are sourced from a separate file in
the cwd
; it is expected to have a single email address per line.
If the environment variable WATCHDOG_LOG
is set, all output will be
redirected there.
NOTE Currently only useful for services running over HTTP
Dependencies
- curl: Polling the servers
- msmtp: Sending email; requires separate configuration
Usage
Create the following files in the script directory:
urls
- One url per line
recipients
- One email address per line