mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Implements telemetry data POST
This commit is contained in:
parent
5afb75c2cc
commit
c7e8c32559
8 changed files with 92 additions and 2 deletions
|
|
@ -17,6 +17,9 @@ if isAdministrator() then
|
|||
if _POST["action"] == "move-rrd-to-influxdb" then
|
||||
ntop.setPref("ntopng.prefs.disable_ts_migration_message", "1")
|
||||
res.success = true
|
||||
elseif _POST["action"] == "disable-telemetry-data" then
|
||||
ntop.setPref("ntopng.prefs.disable_telemetry_data_message", "1")
|
||||
res.success = true
|
||||
elseif _POST["action"] == "host-id-message-warning" then
|
||||
ntop.setPref(string.format("ntopng.prefs.ifid_%u.disable_host_identifier_message", ifid), "1")
|
||||
res.success = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue