mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add flow.lua duration trace
This commit is contained in:
parent
8d7331e519
commit
e9aa6b1703
5 changed files with 14 additions and 10 deletions
|
|
@ -207,7 +207,11 @@ end
|
|||
function ts_dump.run_min_dump(_ifname, ifstats, iface_ts, config, when, verbose)
|
||||
dumpTopTalkers(_ifname, ifstats, verbose)
|
||||
scanAlerts("min", ifstats)
|
||||
interface.checkFlowsScore()
|
||||
|
||||
-- Run lua scripts on flows
|
||||
local tstart = ntop.gettimemsec()
|
||||
interface.checkFlowsLua()
|
||||
traceError(TRACE_INFO, TRACE_CONSOLE, string.format("flow.lua took %.2f seconds", (ntop.gettimemsec() - tstart)))
|
||||
|
||||
local iface_rrd_creation_enabled = (ntop.getPref("ntopng.prefs.ifid_"..ifstats.id..".interface_rrd_creation") ~= "false")
|
||||
and (ntop.getPref("ntopng.prefs.interface_rrd_creation") ~= "0")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue