Add preference to enable l7 total flow timeseries

This commit is contained in:
emanuele-f 2019-06-26 23:00:20 +02:00
parent b03e4b29cf
commit f9f341b2ca
9 changed files with 38 additions and 20 deletions

View file

@ -442,7 +442,7 @@ function printAlerts()
prefsInputFieldPrefs(subpage_active.entries["longlived_flow_duration"].title,
subpage_active.entries["longlived_flow_duration"].description,
"ntopng.prefs.", "longlived_flow_duration", prefs.longlived_flow_duration,
"number", showElements, nil, nil, {min=1, max=60*60*24*7, tformat="hd"})
"number", showElements, nil, nil, {min=1, max=60*60*24*7, tformat="mhd"})
prefsToggleButton(subpage_active, {
field = "toggle_elephant_flows_alerts",
@ -1614,6 +1614,14 @@ function printStatsTimeseries()
pref = "country_rrd_creation",
})
if ntop.isPro() then
prefsToggleButton(subpage_active, {
field = "toggle_ndpi_flows_rrds",
default = "0",
pref = "ndpi_flows_rrd_creation",
})
end
print('</table>')
print('<table class="table">')