mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Improved top host sites adding reset method
This commit is contained in:
parent
1cfeadaf06
commit
784e2d86b3
13 changed files with 116 additions and 84 deletions
|
|
@ -798,7 +798,7 @@ end
|
|||
|
||||
-- ########################################################
|
||||
|
||||
function ts_custom_host_function(ifstats, hostname, host_ts)
|
||||
function ts_custom_host_function(when, ifstats, hostname, host_ts)
|
||||
-- do nothing
|
||||
end
|
||||
|
||||
|
|
@ -873,7 +873,7 @@ function ts_dump.run_5min_dump(_ifname, ifstats, config, when, verbose)
|
|||
dumped_hosts[host_key] = true
|
||||
end
|
||||
|
||||
ts_custom_host_function(ifstats, hostname, host_ts)
|
||||
ts_custom_host_function(min_instant, ifstats, hostname, host_ts)
|
||||
|
||||
if((num_processed_hosts % 64) == 0) then
|
||||
if not ntop.isDeadlineApproaching() then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue