Reworked behavior analysis alerts

This commit is contained in:
Matteo Biscosi 2023-06-16 14:31:52 +00:00
parent 0b2e49e577
commit fcd6102ad0
6 changed files with 795 additions and 624 deletions

View file

@ -240,9 +240,8 @@ function ts_dump.iface_update_general_stats(when, ifstats, verbose)
}, when)
end
if ntop.isPro() then
if not ifstats["traffic_rx_behavior"] or not ifstats["traffic_rx_behavior"] or
not ifstats["traffic_tx_behavior"] then
if ntop.isEnterpriseM() then
if not ifstats["score_behavior"] or not ifstats["traffic_rx_behavior"] or not ifstats["traffic_tx_behavior"] then
goto continue
end