Disabled lua support in mongoose

Updated RRD dump functions
This commit is contained in:
Luca Deri 2018-04-25 22:39:11 +02:00
parent a850860b2c
commit d466c8e298
7 changed files with 34 additions and 48 deletions

View file

@ -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')