From 0db91930238294fbdf68145238a74c958e3cee07 Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 22 Oct 2021 14:21:03 +0200 Subject: [PATCH] check_local_webservice.sh: add parameter 'CONFLICTING_SCRIPTS' - don't run this script if anny given conflicting scripts are running. --- conf/check_local_webservice.conf.sample | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/conf/check_local_webservice.conf.sample b/conf/check_local_webservice.conf.sample index 1dc7362..d900d7f 100644 --- a/conf/check_local_webservice.conf.sample +++ b/conf/check_local_webservice.conf.sample @@ -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 # ---