Pref to write timeseries of user scripts

This commit is contained in:
Simone Mainardi 2020-02-26 14:11:44 +01:00
parent c3d3984285
commit 31e0e617d4
6 changed files with 20 additions and 7 deletions

View file

@ -666,7 +666,7 @@ function internals_utils.printPeriodicActivityDetails(ifId, url)
local timeseries = periodic_scripts_ts
if tostring(ifId) ~= getSystemInterfaceId() then
if tostring(ifId) ~= getSystemInterfaceId() and ntop.getPref("ntopng.prefs.user_scripts_rrd_creation") == "1" then
timeseries = table.merge(timeseries,
{
{