mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes category/application name clashes in RRDs
This commit is contained in:
parent
77a4f4e9ce
commit
0516e485d1
1 changed files with 4 additions and 2 deletions
|
|
@ -88,9 +88,11 @@ local function schema_get_path(schema, tags)
|
|||
host_or_network = (HOST_PREFIX_MAP[parts[1]] or (parts[1] .. ":")) .. tags[schema._tags[2]]
|
||||
|
||||
if parts[1] == "snmp_if" then
|
||||
suffix = tags.if_index .. "/"
|
||||
suffix = tags.if_index .. "/"
|
||||
elseif (parts[1] == "flowdev_port") or (parts[1] == "sflowdev_port") then
|
||||
suffix = tags.port .. "/"
|
||||
suffix = tags.port .. "/"
|
||||
elseif parts[2] == "ndpi_categories" then
|
||||
suffix = "ndpi_categories/"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue