mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes ScoreThreshold never releasing alerts
This commit is contained in:
parent
9516df1bdf
commit
4c21d5cf76
2 changed files with 9 additions and 10 deletions
|
|
@ -883,10 +883,6 @@ function hasTrafficReport()
|
|||
return((not is_pcap_dump) and (ts_utils.getDriverName() == "rrd") and ntop.isEnterpriseM())
|
||||
end
|
||||
|
||||
function mustScanAlerts(ifstats)
|
||||
return areAlertsEnabled()
|
||||
end
|
||||
|
||||
function hasAlertsDisabled()
|
||||
_POST = _POST or {}
|
||||
return ((_POST["disable_alerts_generation"] ~= nil) and (_POST["disable_alerts_generation"] == "1")) or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue