mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Split alert types definitions in multiple files
This commit is contained in:
parent
d1600d0e9b
commit
873b96c20a
79 changed files with 1330 additions and 1041 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue