mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implements add the ability to suppress specific alerts
Implements #4942
This commit is contained in:
parent
540bd00e28
commit
d6d0780507
10 changed files with 184 additions and 129 deletions
|
|
@ -209,7 +209,7 @@ for k,v in ipairs(alerts) do
|
|||
record["column_subdir"] = alert_info.alert_generation.subdir or nil
|
||||
|
||||
-- Checking if the filter column needs to be skipped
|
||||
if user_scripts.excludeAlert(alert, record["column_confset_id"], record["column_script_key"], record["column_subdir"]) == false then
|
||||
if user_scripts.excludeScriptFilters(alert, record["column_confset_id"], record["column_script_key"], record["column_subdir"]) == false then
|
||||
record["column_filter"] = user_scripts.getFilterPreset(alert)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue