From 4720c28fcfcad40955a3d9d3c98d06c0dac4ba5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Tue, 21 Aug 2018 16:37:37 +0200 Subject: [PATCH] Manage Xymon's procs alert --- xymon/xymon.alert.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xymon/xymon.alert.sh b/xymon/xymon.alert.sh index 067074a..f9f2dab 100755 --- a/xymon/xymon.alert.sh +++ b/xymon/xymon.alert.sh @@ -15,6 +15,7 @@ DEBUG=1 script_path="$(dirname -- ${0})" script_libs="${script_path}/xymon.libs.alert.sh" +script_procs="${script_path}/xymon.procs.alert.sh" # }}} [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : ${BBHOSTNAME} — ${BBSVCNAME} is in error." @@ -24,6 +25,9 @@ case "${BBSVCNAME}" in 'libs' ) script_to_run="${script_libs}" ;; + 'procs' ) + script_to_run="${script_procs}" + ;; # default * ) script_to_run="NOT.MANAGED"