Implements 'Subject' column for interface alerts

Addresses #5563
This commit is contained in:
Simone Mainardi 2021-06-24 15:51:17 +02:00
parent 648b0758cd
commit 63168f5ff2
15 changed files with 28 additions and 12 deletions

View file

@ -24,6 +24,7 @@ local function check_interface_drops(params)
)
alert:set_score_error()
alert:set_subtype(getInterfaceName(interface.getId()))
alert:set_granularity(params.granularity)
if((stats.packets > 100) and (drop_perc > threshold)) then