mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Adds interface throughput check
This commit is contained in:
parent
bf24680fdc
commit
a63c1dc957
3 changed files with 48 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ function alert_threshold_cross.format(ifid, alert, alert_type_params)
|
|||
granularity = engine_label,
|
||||
metric = alert_type_params.metric,
|
||||
entity = entity,
|
||||
value = format_utils.formatValue(alert_type_params.value),
|
||||
value = format_utils.formatValue(format_utils.round(alert_type_params.value, 2)),
|
||||
op = "&".. (alert_type_params.operator or "gt") ..";",
|
||||
threshold = format_utils.formatValue(alert_type_params.threshold),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue