Added alert to network discovery (#6218)

This commit is contained in:
Matteo Biscosi 2022-01-19 16:17:30 +01:00
parent 3174d889d8
commit 795125c814
8 changed files with 142 additions and 4 deletions

View file

@ -268,7 +268,7 @@ function dumpInterfaceStats(ifid)
end
-- Adding a preference if active discovery is enabled
res["active_discovery_active"] = ntop.getPref("ntopng.prefs.is_periodic_network_discovery_running") == "1"
res["active_discovery_active"] = ntop.getPref("ntopng.prefs.is_periodic_network_discovery_running.ifid_" .. interface.getId()) == "1"
end
return res