From 6ecb6df66e338c3d388723cac12361dfdb8b04f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Tue, 28 Aug 2018 16:21:44 +0200 Subject: [PATCH] Manage apt alert --- xymon/xymon.alert.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xymon/xymon.alert.sh b/xymon/xymon.alert.sh index f9f2dab..1773a17 100755 --- a/xymon/xymon.alert.sh +++ b/xymon/xymon.alert.sh @@ -14,6 +14,7 @@ DEBUG=1 script_path="$(dirname -- ${0})" +script_apt="${script_path}/xymon.apt.alert.sh" script_libs="${script_path}/xymon.libs.alert.sh" script_procs="${script_path}/xymon.procs.alert.sh" # }}} @@ -22,6 +23,9 @@ script_procs="${script_path}/xymon.procs.alert.sh" # Match probe name with the script {{{ case "${BBSVCNAME}" in + 'apt' ) + script_to_run="${script_apt}" + ;; 'libs' ) script_to_run="${script_libs}" ;;