Unbinds SNMP Devices from Interfaces

Implements #1074
Implements #1065
This commit is contained in:
Simone Mainardi 2017-03-20 16:46:00 +01:00
parent fe2a5fca43
commit c775d79b4e
4 changed files with 15 additions and 16 deletions

View file

@ -232,7 +232,7 @@ function host_pools_utils.updateRRDs(ifid, dump_ndpi, verbose)
-- Traffic stats
local rrdpath = fixPath(pool_base .. "/bytes.rrd")
createRRDcounter(rrdpath, 300, verbose)
ntop.rrd_update(rrdpath, "N:"..tolongint(pool_stats["bytes.sent"]) .. ":" .. tolongint(pool_stats["bytes.recv"]))
ntop.rrd_update(rrdpath, "N:"..tolongint(pool_stats["bytes.sent"]) .. ":" .. tolongint(pool_stats["bytes.rcvd"]))
-- nDPI stats
if dump_ndpi then