mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Removed sflowdev timeseries and unified to flowdev
This commit is contained in:
parent
5de1fea07b
commit
a7ab748ae2
9 changed files with 9 additions and 133 deletions
|
|
@ -70,7 +70,6 @@ local HOST_PREFIX_MAP = {
|
|||
mac = "",
|
||||
subnet = "net:",
|
||||
flowdev_port = "flow_device:",
|
||||
sflowdev_port = "sflow:",
|
||||
snmp_if = "snmp:",
|
||||
host_pool = "pool:"
|
||||
}
|
||||
|
|
@ -128,7 +127,7 @@ local function schema_get_path(schema, tags)
|
|||
else
|
||||
suffix = tags.if_index .. "/"
|
||||
end
|
||||
elseif (parts[1] == "flowdev_port") or (parts[1] == "sflowdev_port") then
|
||||
elseif (parts[1] == "flowdev_port") then
|
||||
if (tags.port) then
|
||||
if (type(tags.port) == "table") then
|
||||
suffix = tags.port.ifindex .. "/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue