#----------------------------- # Settings for script check_local_mattermost_service.sh #----------------------------- # - LOCAL_ES_SERVICE_TO_CHECK # - # - mattermost websites, whichn will be checked # - # - Example: LOCAL_ES_SERVICE_TO_CHECK="http://127.0.0.1:9200" # - #LOCAL_ES_SERVICE_TO_CHECK="" # - TIME_OUT # - # - Maximum time in seconds that is aalowed for the whole curl request # - # - Defaults to: # TIME_OUT=20 # - #TIME_OUT=20 # - CONNECT_TIMEOUT # - # - Maximum time in seconds that you allow curl's connection to take. # - # - Note: # - This only limits the connection phase, so if curl connects within # - the given period it will continue - if not it will exit. # - # - Defaults to: # - CONNECT_TIMEOUT=5 # - #CONNECT_TIMEOUT=5 # - 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/nginx/access.log:40 # - /var/log/nginx/error.log:25 # - " # - #LOG_FILES_TO_MONITOR="" # - 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/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="check_es_service@$(hostname -f)" # - #sender_address="check_es_service@$(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="ckubu@oopen.de"