diff --git a/status-check.sh b/status-check.sh index 6050306..f68c763 100755 --- a/status-check.sh +++ b/status-check.sh @@ -1,5 +1,15 @@ #!/bin/bash +# Check status of a list of servers +# +# Any servers in URLS that yield a bad response are collated and sent via email +# to all RECIPIENTS. +# +# Dependencies +# - curl: Polling the servers +# - msmtp: Sending email; requires separate configuration +# NOTE: Currently only useful for services running over HTTP + #set -eux LOG_FILE="/media/workshop/Projects/openmedianetwork/.omn_watchdog.log"