mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Add Alert:set_category for host/flow lua alerts with no check definition in lua
This commit is contained in:
parent
b5b8ebbba0
commit
e8f10f0795
6 changed files with 74 additions and 59 deletions
|
|
@ -212,6 +212,7 @@ function alerts_api.store(entity_info, type_info, when)
|
|||
ifid = ifid,
|
||||
action = "store",
|
||||
alert_id = type_info.alert_type.alert_key,
|
||||
alert_category = type_info.alert_category and type_info.alert_category.id,
|
||||
subtype = subtype,
|
||||
granularity = granularity_sec,
|
||||
entity_id = entity_info.alert_entity.entity_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue