96 lines
2.2 KiB
Plaintext
96 lines
2.2 KiB
Plaintext
#-----------------------------
|
|
# 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=""
|
|
|
|
# - 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/nginx/access.log:40
|
|
# - /var/log/nginx/error.log:25
|
|
# - "
|
|
# -
|
|
#LOG_FILES_TO_MONITOR=""
|
|
|
|
# - TIME_OUT
|
|
# -
|
|
# - Timeout for curl request of each website
|
|
# -
|
|
# - Defaults to: TIME_OUT=60
|
|
# -
|
|
#TIME_OUT=60
|
|
|
|
|
|
# - 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/<base-script_name>.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"
|
|
|