mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Add preference to enable l7 total flow timeseries
This commit is contained in:
parent
b03e4b29cf
commit
f9f341b2ca
9 changed files with 38 additions and 20 deletions
|
|
@ -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">')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue