mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Added alert to network discovery (#6218)
This commit is contained in:
parent
3174d889d8
commit
795125c814
8 changed files with 142 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue