mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Added info to nprobes and exporters pages
This commit is contained in:
parent
23f5d3b910
commit
18f19ffa19
8 changed files with 74 additions and 22 deletions
|
|
@ -27,6 +27,7 @@ if isEmptyString(ifid) then
|
|||
end
|
||||
|
||||
interface.select(ifid)
|
||||
local if_names = interface.getIfNames()
|
||||
local ifstats = interface.getStats()
|
||||
local probes_stats = ifstats.probes or {}
|
||||
local timeseries_enabled = areFlowdevTimeseriesEnabled()
|
||||
|
|
@ -63,6 +64,7 @@ for interface_id, probes_list in pairs(ifstats.probes or {}) do
|
|||
flow_exporters = flow_exporters_num,
|
||||
dropped_flows = flow_drops,
|
||||
exported_flows = exported_flows,
|
||||
ntopng_interface = if_names[tostring(interface_id)],
|
||||
timeseries_enabled = timeseries_enabled,
|
||||
ifid = interface_id
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue