mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Cleanup of the too-many-drops interface alert
This commit is contained in:
parent
e46221e0bb
commit
b3bdfcff32
9 changed files with 41 additions and 126 deletions
|
|
@ -815,12 +815,14 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function alerts_api.tooManyDropsType()
|
||||
function alerts_api.tooManyDropsType(drops, drop_perc, threshold)
|
||||
return({
|
||||
alert_type = alert_consts.alert_types.too_many_drops,
|
||||
alert_severity = alert_consts.alert_severities.error,
|
||||
alert_granularity = alert_consts.alerts_granularities.min,
|
||||
alert_type_params = {},
|
||||
alert_type_params = {
|
||||
drops = drops, drop_perc = drop_perc, edge = threshold,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue