Modify script 'base_script.sh'.

This commit is contained in:
2022-10-16 13:37:43 +02:00
parent ccfb011a23
commit 62bb096b20
2 changed files with 256 additions and 60 deletions

View File

@ -2,16 +2,63 @@
# - Configuration file for script base_script.sh
# ==========
# - LOGGING
# -
# - Enables/Disables script output. Setting this value to 'true' is
# - only useful if NOT running in a terminal (i.e. as cronjob).
# -
# - If script is running in a terminal, script output is enabled and
# - cannot be disabled.
# -
# - Running this script in a
# -
# - Default value: false
# -
#LOGGING=false
# 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
# "
#
# No defaults
#
#CONFLICTING_SCRIPTS=""
# ---
# - E-Mail settings for sending script messages
# ---
# company
#
# Example: company="Warenform"
#
# Defaults to: company="O.OPEN"
#
#company=""
# sender_address
#
# Defaults to: sender_address="${script_name%%.*}@$(hostname -f)"
#
#sender_address="check_mm_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"
#
# Defaults to alert_email_addresses="ckubu@oopen.de"
#
#alert_email_addresses="ckubu@oopen.de"