mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implements #4919 custom alert severity
This commit is contained in:
parent
89b21df6f6
commit
10fb8bbecc
64 changed files with 317 additions and 49 deletions
|
|
@ -613,7 +613,7 @@ function alerts_api.checkThresholdAlert(params, alert_type, value, attacker, vic
|
|||
threshold_config.threshold
|
||||
)
|
||||
|
||||
alert:set_severity(alert_severities.error)
|
||||
alert:set_severity(threshold_config.severity)
|
||||
alert:set_granularity(params.granularity)
|
||||
alert:set_subtype(script.key)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue