Added network discovery icon to the main page (#6218)

This commit is contained in:
Matteo Biscosi 2022-01-19 11:17:34 +01:00
parent 4406d3fe4a
commit 7f40147cf5
4 changed files with 15 additions and 3 deletions

View file

@ -266,6 +266,9 @@ function dumpInterfaceStats(ifid)
res["traffic_extraction_num_tasks"] = jobs_info.total
end
end
-- Adding a preference if active discovery is enabled
res["active_discovery_active"] = ntop.getPref("ntopng.prefs.is_periodic_network_discovery_running") == "1"
end
return res