mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +00:00
Implements alert exclusions for hosts, interfaces, local networks
This commit is contained in:
parent
b65cbf079d
commit
696bcb33e5
11 changed files with 119 additions and 29 deletions
|
|
@ -211,9 +211,9 @@ for k,v in ipairs(alerts) do
|
|||
|
||||
-- Checking if the filter column needs to be skipped
|
||||
if user_scripts.excludeScriptFilters(alert, alert_info, record["column_confset_id"], record["column_script_key"], record["column_subdir"]) == false then
|
||||
record["column_filter"] = user_scripts.getFilterPreset(alert, alert_info)
|
||||
record["column_filter"] = user_scripts.getFilterPreset(alert, alert_info)
|
||||
elseif record["column_subdir"] == "flow" then
|
||||
record["column_filter_disabled"] = true
|
||||
record["column_filter_disabled"] = true
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue