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.
internal-scripts/example_configs/httpcheck_telegram

8 lines
474 B

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
DB="/tmp/.httpcheck.sqlite" #Location of SQLite3 database
MAX_COUNT=10 #Max number of 'count' before alert becomes true