Added severity to ntopng checks table

This commit is contained in:
MatteoBiscosi 2022-10-20 10:34:23 +02:00
parent 933e8339ec
commit eda4cfb088
48 changed files with 406 additions and 340 deletions

View file

@ -959,8 +959,7 @@ function alert_utils.formatBehaviorAlert(params, anomalies, stats, id, subtype,
anomaly_table["extra_params"]
)
alert:set_score_warning()
alert:set_granularity(params.granularity)
alert:set_info(params)
alert:set_subtype(name)
-- Trigger an alert if an anomaly is found