mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Disabled lua support in mongoose
Updated RRD dump functions
This commit is contained in:
parent
a850860b2c
commit
d466c8e298
7 changed files with 34 additions and 48 deletions
|
|
@ -393,7 +393,7 @@ function rrd_utils.makeRRD(basedir, when, if_id, key, rrdname, step, value)
|
|||
|
||||
local tskey = if_id
|
||||
if(key ~= nil) then tskey = tskey ..":"..key end
|
||||
ntop.tsSet(when, if_id, tonumber(step), "iface", nil, rrdname, 0, tonumber(value))
|
||||
ntop.tsSet(when, "iface", nil, rrdname, 0, tonumber(value))
|
||||
|
||||
if(step == 1 and (if_id == 0) and string.contains(name, "packets")) then
|
||||
-- io.write('Updating RRD ['.. if_id..'] '.. name .. " " .. value ..'\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue