mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fix compatibility with ntopng 3.4 RRD format
This commit is contained in:
parent
da3cbe7b8c
commit
cacbdaa9e7
6 changed files with 35 additions and 7 deletions
|
|
@ -157,7 +157,8 @@ end
|
|||
|
||||
-- This is necessary to keep the current RRD format
|
||||
local function map_rrd_column_to_metrics(schema, column_name)
|
||||
if (column_name == "num") or (column_name == "num_flows")
|
||||
if (column_name == "num") or starts(column_name, "num_")
|
||||
or (column_name == "drops") or starts(column_name, "tcp_")
|
||||
or (column_name == "sent") or (column_name == "ingress")
|
||||
or (column_name == "bytes") or (column_name == "packets")
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue