mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes deletion of old alerts when above a certain threshold
This commit is contained in:
parent
243e728086
commit
b258f45858
2 changed files with 4 additions and 2 deletions
|
|
@ -408,6 +408,8 @@ function ts_dump.run_5min_dump(_ifname, ifstats, config, when, time_threshold, s
|
|||
local dump_tstart = os.time()
|
||||
local dumped_hosts = {}
|
||||
|
||||
housekeepingAlertsMakeRoom(ifstats.id)
|
||||
|
||||
-- Save hosts stats (if enabled from the preferences)
|
||||
if (is_rrd_creation_enabled and (config.host_rrd_creation ~= "0")) then
|
||||
local in_time = callback_utils.foreachLocalRRDHost(_ifname, time_threshold, is_rrd_creation_enabled, function (hostname, host_ts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue