#--------------------------------------- #----------------------------- # 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[:] # - # - 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. # - # - If no fixed LOCK directory is connected to the script, set # - this value to the constant 'CHECK_PROCESS_LIST'. # - # - If no value for the LOCK directory is given, the LOCK directory # - '/tmp/.LOCK' is assumed. # - # - # - Example: # - CONFLICTING_SCRIPTS=" # - /root/bin/monitoring/check_webservice_load.sh:CHECK_PROCESS_LIST # - /root/bin/monitoring/check_remote_websites.sh # - " # - # - Defaults to: # - CONFLICTING_SCRIPTS=" # - /root/bin/mysql/optimize_mysql_tables.sh # - /root/bin/mysql/optimize_mysql_tables-ND.sh # - /root/bin/monitoring/check_webservice_load.sh # - " # - #DEFAULT_CONFLICTING_SCRIPTS=" # /root/bin/mysql/optimize_mysql_tables.sh # /root/bin/mysql/optimize_mysql_tables-ND.sh # /root/bin/monitoring/check_webservice_load.sh #" # --- # - 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=""