mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Add get_portidx_by_name and snmp_mappings.get_iface_idx
This commit is contained in:
parent
39aaaf58da
commit
a206f83b4b
4 changed files with 78 additions and 11 deletions
|
|
@ -15,14 +15,13 @@ function ts_rest_utils.get_timeseries(http_context)
|
|||
local tstart = http_context.epoch_begin
|
||||
local tend = http_context.epoch_end
|
||||
local compare_backward = http_context.ts_compare
|
||||
local tags = http_context.ts_query
|
||||
local tags = http_context.tags
|
||||
local extended_times = http_context.extended
|
||||
local ts_aggregation = http_context.ts_aggregation
|
||||
local no_fill = tonumber(http_context.no_fill)
|
||||
|
||||
tstart = tonumber(tstart) or (os.time() - 3600)
|
||||
tend = tonumber(tend) or os.time()
|
||||
tags = tsQueryToTags(tags)
|
||||
if http_context.tskey then
|
||||
-- This can contain a MAC address for local broadcast domain hosts
|
||||
local tskey = http_context.tskey
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue