Added custom header option

master
Aaron Johnson 4 years ago
parent ce216e5c14
commit 5602c130ce

@ -1,3 +1,4 @@
HEADER="HTTP/S Checker" #Header for the start of outgoing messages from the bot
CHATID="5555555" #Chat ID for the Telegram room/conversation with bot
KEY="THISISAUNIQUEANDPRIVATEKEY" #Your bot's API key
CHKLIST="${HOME}/.site_check" #A file containing a list of sites/URLs to check

@ -58,7 +58,7 @@ print_time() {
}
# Prepare message header
MSG='HTTP/S Problems Found:'
MSG="${HEADER}%0AProblems Found:"
FAILURE=false
# Check HTTP codes

Loading…
Cancel
Save