mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
prefs.lua: add base dir preference for virtual HTTP stats aggregation
This commit adds a preference for the base directory used when storing aggregated virtual HTTP server stats.
This commit is contained in:
parent
939ffa6c7d
commit
83161ec79e
2 changed files with 10 additions and 1 deletions
|
|
@ -108,8 +108,10 @@ if (ntop.isPro()) then
|
|||
-- ================================================================================
|
||||
print('<tr><th colspan=2 class="info">HTTP Traffic Statistics</th></tr>')
|
||||
toggleTableButton("Dump HTTP Servers Traffic Statistics On Disk",
|
||||
"Toggle dumping on disk virtual HTTP server traffic statistics. Turn it off to save storage space.",
|
||||
"Toggle dumping on disk daily virtual HTTP server traffic statistics. Turn it off to save storage space.",
|
||||
"Off", "0", "danger", "On", "1", "success", "toggle_http_traffic_dump", "ntopng.prefs.http_traffic_dump")
|
||||
prefsInputField("Base Directory For Virtual HTTP Server Aggregated Stats", "Directory to dump virtual HTTP server aggregated stats. Default is ntopng's working dir.",
|
||||
"http_stats_base_dir", prefs.http_stats_base_dir)
|
||||
|
||||
-- ================================================================================
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue