mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Supports flow_db_utils to handle both nIndex and Clickhouse
This commit is contained in:
parent
d141115b96
commit
13701fdc2c
4 changed files with 9 additions and 9 deletions
|
|
@ -36,8 +36,8 @@ function storage_utils.interfaceStorageInfo(ifid, separate_pcap_volume, refresh_
|
|||
-- end
|
||||
|
||||
if interfaceHasNindexSupport() then
|
||||
local nindex_utils = require "nindex_utils"
|
||||
local flows_storage_info = nindex_utils.storageInfo(ifid, timeout)
|
||||
local flow_db_utils = require "flow_db_utils"
|
||||
local flows_storage_info = flow_db_utils.storageInfo(ifid, timeout)
|
||||
info["flows"] = flows_storage_info.total
|
||||
info["total"] = info["total"] + flows_storage_info.total
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue