check_local_webservice.sh: add parameter 'CONFLICTING_SCRIPTS' - don't run this script if anny given conflicting scripts are running.

This commit is contained in:
Christoph 2021-10-22 14:21:03 +02:00
parent 9a9e862782
commit 0db9193023

View File

@ -44,6 +44,25 @@ LOG_FILES_TO_MONITOR=""
#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
# ---