|
|
||
|---|---|---|
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| mail_template | ||
| status-check.sh | ||
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