mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implements MySQL Top Talkers Retrieval and Visualization
Overal Top Talkers are retrieved with just one single MySQL query and include both ipv4 and ipv4. Top talkers can be visualized on a per-interface and per-host basis, and can be sliced and diced.
This commit is contained in:
parent
bfb47398b3
commit
08622e8f18
4 changed files with 110 additions and 12 deletions
|
|
@ -203,6 +203,7 @@ local function getHistoricalTopTalkers(ifid, ifname, epoch, add_vlan)
|
|||
end
|
||||
|
||||
local function getHistoricalTopTalkersInInterval(ifid, ifname, epoch_start, epoch_end, add_vlan)
|
||||
-- retrieves Aggregated top Talkers value from sqlite
|
||||
local json = require ("dkjson")
|
||||
if epoch_start == nil or epoch_end == nil or epoch_start == "" or epoch_end == "" then
|
||||
return json.encode({}, nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue