mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Fixes non working rrd charts
This commit is contained in:
parent
e9d39fbfa7
commit
f185cc8425
1 changed files with 9 additions and 2 deletions
|
|
@ -7,7 +7,6 @@ local driver = {}
|
|||
local os_utils = require("os_utils")
|
||||
local ts_common = require("ts_common")
|
||||
local data_retention_utils = require "data_retention_utils"
|
||||
local json = require("dkjson")
|
||||
|
||||
require("rrd_paths")
|
||||
|
||||
|
|
@ -26,6 +25,14 @@ local aggregation_to_consolidation = {
|
|||
[ts_common.aggregation.last] = "LAST",
|
||||
}
|
||||
|
||||
local L4_PROTO_KEYS = {
|
||||
tcp=6,
|
||||
udp=17,
|
||||
icmp=1,
|
||||
eigrp=88,
|
||||
other_ip=-1
|
||||
}
|
||||
|
||||
-- ##############################################
|
||||
|
||||
local debug_enabled = nil
|
||||
|
|
@ -624,7 +631,7 @@ function driver:listSeries(schema, tags_filter, wildcard_tags, start_time)
|
|||
if last_update ~= nil and last_update >= start_time then
|
||||
local value = v[1]
|
||||
local toadd = false
|
||||
|
||||
|
||||
if wildcard_tag == "if_index" then
|
||||
-- NOTE: needed to add this crazy exception. Don't now what it is
|
||||
-- but it's needed, otherwise this function is tricked into thinking
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue