Naive is-alive check for your servers
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.
mj-saunders 11cf8c58b0 Add GPLv2 license 5 months ago
.gitignore Separate out config 5 months ago
LICENSE Add GPLv2 license 5 months ago
README.md Include basic usage info in README 5 months ago
mail_template Only email if error detected 5 months ago
status-check.sh Separate out config 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