mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Harmonizes remaining hardcoded Lua scores
This commit is contained in:
parent
38b47d5aa8
commit
ccb61a7444
13 changed files with 21 additions and 21 deletions
|
|
@ -590,7 +590,7 @@ function alerts_api.handlerPeerBehaviour(params, stats, tot_anomalies, host_ip,
|
|||
if threshold and tot_anomalies and tot_anomalies > threshold then
|
||||
alert_unexpected_behaviour:set_score_error()
|
||||
else
|
||||
alert_unexpected_behaviour:set_score(50)
|
||||
alert_unexpected_behaviour:set_score_warning()
|
||||
end
|
||||
|
||||
alert_unexpected_behaviour:set_granularity(params.granularity)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue