mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add option to disable unwanted host timeseries
This commit is contained in:
parent
82a01c521a
commit
2dbdc13ec6
5 changed files with 19 additions and 6 deletions
|
|
@ -1132,11 +1132,18 @@ function printStatsTimeseries()
|
|||
field = "toggle_local_hosts_traffic_rrd_creation",
|
||||
default = "1",
|
||||
pref = "host_rrd_creation",
|
||||
to_switch = {"row_hosts_ndpi_timeseries_creation"},
|
||||
to_switch = {"row_hosts_ndpi_timeseries_creation", "row_toggle_local_hosts_stats_rrd_creation"},
|
||||
})
|
||||
|
||||
local showElement = ntop.getPref("ntopng.prefs.host_rrd_creation") == "1"
|
||||
|
||||
prefsToggleButton(subpage_active, {
|
||||
field = "toggle_local_hosts_stats_rrd_creation",
|
||||
default = "1",
|
||||
pref = "host_stats_timeseries_creation",
|
||||
hidden = not showElement,
|
||||
})
|
||||
|
||||
retVal = multipleTableButtonPrefs(subpage_active.entries["toggle_ndpi_timeseries_creation"].title,
|
||||
subpage_active.entries["toggle_ndpi_timeseries_creation"].description,
|
||||
l7_rrd_labels, l7_rrd_values,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue