mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Initial work towards unified alerts queue
This commit is contained in:
parent
c183a577be
commit
62f754f7f9
9 changed files with 168 additions and 54 deletions
|
|
@ -380,6 +380,11 @@ function alerts_api.release(entity_info, type_info, when)
|
|||
entity_info.alert_entity_val .."@"..type_info.alert_type.i18n_title..":".. subtype .. "\n") end
|
||||
end
|
||||
|
||||
if(type_info.alert_severity == nil) then
|
||||
alertErrorTraceback("Missing alert_severity")
|
||||
return(false)
|
||||
end
|
||||
|
||||
local alert_event = {
|
||||
ifid = interface.getId(),
|
||||
granularity = granularity_sec,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue