Implements nDPI stats counters for views

This commit is contained in:
Simone Mainardi 2019-07-19 10:30:59 +02:00
parent 6e8d0caca7
commit 3cd6a92efd
7 changed files with 31 additions and 34 deletions

View file

@ -481,7 +481,7 @@ function ts_dump.run_5min_dump(_ifname, ifstats, config, when, time_threshold, s
end
-- Save Host Pools stats every 5 minutes
if((ntop.isPro()) and (tostring(config.host_pools_rrd_creation) == "1") and (not ifstats.isView)) then
if((ntop.isPro()) and (tostring(config.host_pools_rrd_creation) == "1")) then
host_pools_utils.updateRRDs(ifstats.id, true --[[ also dump nDPI data ]], verbose)
end
end