96 lines
2.2 KiB
Plaintext
96 lines
2.2 KiB
Plaintext
#---------------------------------------
|
|
#-----------------------------
|
|
# 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=""
|
|
|
|
# - LOG_FILES_TO_MONITOR[:<n>]
|
|
# -
|
|
# - Print out the last lines from theses given logfiles
|
|
# -
|
|
# - its possible to give a number of lines, which should be printed out
|
|
# - by appending it seperated ba a colon ':'.
|
|
# -
|
|
# - The default number of printed out lines is 20.
|
|
#
|
|
# - Example:
|
|
# - LOG_FILES_TO_MONITOR="
|
|
# - /var/log/apache2/ip_requests.log:40
|
|
# - /var/log/php-7.4-fpm/php_errors.log
|
|
# - /var/log/mysql/mysql.err:15
|
|
# - "
|
|
# -
|
|
LOG_FILES_TO_MONITOR=""
|
|
|
|
# - TIME_OUT
|
|
# -
|
|
# - Timeout for curl request of each website
|
|
# -
|
|
# - Defaults to: TIME_OUT=30
|
|
# -
|
|
#TIME_OUT=30
|
|
|
|
|
|
# - CONFLICTING_SCRIPTS
|
|
# -
|
|
# - The scripts listed here conflict with this script. If one of these scripts
|
|
# - is currently running, this script will be stopped.
|
|
# -
|
|
# - In addition to the script, a LOCK directory can also be specified which is
|
|
# - connected to it.
|
|
# -
|
|
# - Example:
|
|
# - CONFLICTING_SCRIPTS="
|
|
# - /root/bin/monitoring/check_webservice_load.sh
|
|
# - /root/bin/monitoring/check_remote_websites.sh:/tmp/check_remote_websites.LOCK
|
|
# -
|
|
# - Defaults to:
|
|
# - CONFLICTING_SCRIPTS="/root/bin/monitoring/check_webservice_load.sh"
|
|
# -
|
|
#CONFLICTING_SCRIPTS=""
|
|
|
|
|
|
# ---
|
|
# - 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=""
|
|
|