mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Unifies all internals timeseries in a single preference
Implements #3459
This commit is contained in:
parent
717b2f88ce
commit
ec724babcf
8 changed files with 30 additions and 25 deletions
|
|
@ -51,9 +51,9 @@ end
|
|||
function ts_dump.run_5sec_dump(ifid, when, periodic_ht_state_update_stats)
|
||||
local iface_rrd_creation_enabled = (ntop.getPref("ntopng.prefs.ifid_"..ifid..".interface_rrd_creation") ~= "false")
|
||||
and (ntop.getPref("ntopng.prefs.interface_rrd_creation") ~= "0")
|
||||
local user_scripts_rrd_creation_enabled = ntop.getPref("ntopng.prefs.user_scripts_rrd_creation") == "1"
|
||||
local internals_rrd_creation_enabled = ntop.getPref("ntopng.prefs.internals_rrd_creation") == "1"
|
||||
|
||||
if not iface_rrd_creation_enabled or not user_scripts_rrd_creation_enabled then
|
||||
if not iface_rrd_creation_enabled or not internals_rrd_creation_enabled then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue