mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Remove autorelease logic based on periodicity and update database schema
This commit is contained in:
parent
85f4266f14
commit
5e0b8b496e
10 changed files with 44 additions and 129 deletions
|
|
@ -33,8 +33,8 @@ function checkHostAlerts(granularity)
|
|||
local info = host.getFullInfo()
|
||||
local host_key = info.ip.."@"..info.vlan
|
||||
local host_config = config_alerts[host_key]
|
||||
local global_config = config_alerts["local_hosts"]
|
||||
local has_configured_alerts = (table.len(host_config or global_config or {}) > 0)
|
||||
local global_config = config_alerts["local_hosts"] or {}
|
||||
local has_configured_alerts = (table.len(host_config or global_confi) > 0)
|
||||
|
||||
if has_configured_alerts then
|
||||
for _, check in pairs(available_modules) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue