Manage apt alert
This commit is contained in:
parent
d09250d088
commit
6ecb6df66e
|
@ -14,6 +14,7 @@
|
||||||
DEBUG=1
|
DEBUG=1
|
||||||
|
|
||||||
script_path="$(dirname -- ${0})"
|
script_path="$(dirname -- ${0})"
|
||||||
|
script_apt="${script_path}/xymon.apt.alert.sh"
|
||||||
script_libs="${script_path}/xymon.libs.alert.sh"
|
script_libs="${script_path}/xymon.libs.alert.sh"
|
||||||
script_procs="${script_path}/xymon.procs.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 {{{
|
# Match probe name with the script {{{
|
||||||
case "${BBSVCNAME}" in
|
case "${BBSVCNAME}" in
|
||||||
|
'apt' )
|
||||||
|
script_to_run="${script_apt}"
|
||||||
|
;;
|
||||||
'libs' )
|
'libs' )
|
||||||
script_to_run="${script_libs}"
|
script_to_run="${script_libs}"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue