mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
ef70bcb2a5
commit
7e1af2b196
11 changed files with 80 additions and 33 deletions
|
|
@ -322,3 +322,13 @@ function rrd_interval_integrate(epoch_start, epoch_end, resolution, start, rawda
|
|||
if with_activity then rawdata.activity = activity end
|
||||
return times
|
||||
end
|
||||
|
||||
|
||||
function get_interface_rrd_creation_key(ifid)
|
||||
local k = "ntopng.prefs.interface_rrd_creation.ifid_"..ifid
|
||||
return k
|
||||
end
|
||||
|
||||
function interface_rrd_creation_enabled(ifId)
|
||||
return not (ntop.getPref(get_interface_rrd_creation_key(ifId)) == "false")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue