mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fix discovery alerts (#8132)
This commit is contained in:
parent
8306731066
commit
6098dc87b0
3 changed files with 22 additions and 22 deletions
|
|
@ -26,8 +26,8 @@ local function check_network_discovery(params)
|
|||
-- Get total number of packets, flows and interface id
|
||||
local network_discovery_check = alert_consts.alert_types.alert_network_discovery_executed.new()
|
||||
|
||||
network_discovery_check:set_subtype(params)
|
||||
|
||||
network_discovery_check:set_score_notice()
|
||||
|
||||
local discovery_executed = ntop.getCache("ntopng.cache.network_discovery_executed.ifid_" .. interface.getId()) == "1"
|
||||
|
||||
if discovery_executed == true then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue