Split alert types definitions in multiple files

This commit is contained in:
emanuele-f 2019-10-16 12:03:21 +02:00
parent d1600d0e9b
commit 873b96c20a
79 changed files with 1330 additions and 1041 deletions

View file

@ -27,7 +27,7 @@ function script.dequeueAlerts(queue)
tprint(alert)
if (alert.action == "engage") then
if (alertTypeRaw(alert.type) == "threshold_cross") and
if (alertTypeRaw(alert.type) == "alert_threshold_cross") and
(alert.alert_key == "min_active_local_hosts") then
-- Run a custom bash script