mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Extend lua alerts API with alert:set_require_attention()
This commit is contained in:
parent
a251974b21
commit
ab9224d2ce
3 changed files with 9 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ function alerts_api.store(entity_info, type_info, when)
|
|||
entity_id = entity_info.alert_entity.entity_id,
|
||||
entity_val = entity_info.entity_val,
|
||||
score = type_info.score,
|
||||
require_attention = type_info.require_attention or false,
|
||||
device_type = type_info.device_type,
|
||||
device_name = type_info.device_name,
|
||||
tstamp = when,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue