mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add preference to select the timeseries database to use
This commit is contained in:
parent
44abcd442c
commit
af1fc50ce6
13 changed files with 74 additions and 64 deletions
|
|
@ -221,8 +221,9 @@ end
|
|||
|
||||
function callback_utils.uploadTSdata()
|
||||
local url = ntop.getPref("ntopng.prefs.ts_post_data_url")
|
||||
local driver = ntop.getPref("ntopng.prefs.timeseries_driver")
|
||||
|
||||
if((url == nil) or (url == "")) then
|
||||
if((url == nil) or (url == "") or (driver ~= "influxdb")) then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue