mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
This commit is contained in:
parent
cd1d2340b2
commit
811699d523
8 changed files with 161 additions and 52 deletions
|
|
@ -18,7 +18,6 @@ require "lua_utils"
|
|||
--
|
||||
|
||||
-- Get from redis the throughput type bps or pps
|
||||
local ts_enabled = areASTimeseriesEnabled(interface.getId())
|
||||
local throughput_type = getThroughputType()
|
||||
local now = os.time()
|
||||
|
||||
|
|
@ -54,7 +53,6 @@ if as_info ~= nil then
|
|||
record["bytes_rcvd"] = bytes_rcvd
|
||||
record["alerted_flows"] = value["alerted_flows"]["total"]
|
||||
record["traffic"] = bytes_sent + bytes_rcvd
|
||||
record["ts_enabled"] = ts_enabled
|
||||
record["seen_since"] = value["seen.first"]
|
||||
record["score"] = value["score"]
|
||||
record["num_hosts"] = value["num_hosts"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue