Removed telemetry

This commit is contained in:
MatteoBiscosi 2022-07-05 15:17:08 +02:00
parent 2e005803e3
commit 8dad513a4e
12 changed files with 1 additions and 125 deletions

View file

@ -18,9 +18,7 @@ if _POST["action"] == "toggle_theme" then
ntop.setPref("ntopng.user." .. _SESSION['user'] .. ".theme", (enabled and "dark" or "white"))
res.success = true
elseif isAdministrator() then
if _POST["action"] == "disable-telemetry-data" then
ntop.setPref("ntopng.prefs.disable_telemetry_data_message", "1")
elseif _POST["action"] == "host-id-message-warning" then
if _POST["action"] == "host-id-message-warning" then
local ifid = _POST["ifid"]
ntop.setPref(string.format("ntopng.prefs.ifid_%u.disable_host_identifier_message",ifid), "1")
elseif _POST["action"] == "influxdb-error-msg" then