Add script 'check_local_webservice.sh'.

This commit is contained in:
2021-05-14 18:58:52 +02:00
parent def72620bb
commit 87ca1aadb8
2 changed files with 349 additions and 0 deletions

View File

@ -0,0 +1,58 @@
#---------------------------------------
#-----------------------------
# Settings for script check_local_webservice.sh
#-----------------------------
#---------------------------------------
# - LOCAL_WEBSITES_TO_CHECK
# -
# - Contains a list of websites, whichn will be checked
# -
# - blank seperated list of URLs
# -
# - Example: LOCAL_WEBSITES_TO_CHECK="
# - https://https://kontext3.warenform.de
# - www.die-linke-europa.de
# - "
# -
LOCAL_WEBSITES_TO_CHECK=""
# - TIME_OUT
# -
# - Timeout for curl request of each website
# -
# - Defaults to: TIME_OUT=30
# -
#TIME_OUT=30
# ---
# - E-Mail settings for sending script messages
# ---
# - company
# -
# - Example: company="O.OPEN"
# -
company=""
# - sender_address
# -
# - Defaults to: sender_address="root@$(hostname -f)"
# -
#sender_address="check_websites@$(hostname -f)"
# - content_type
# -
# - Defaults to: content_type='Content-Type: text/plain;\n charset="utf-8"'
# -
#content_type='Content-Type: text/plain;\n charset="utf-8"'
# - alert_email_addresses
# -
# - blank separated list of e-mail addresses
#
# - Example: alert_email_addresses="ckubu@oopen.de axel@warenform.net"
# -
alert_email_addresses=""