mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes alert formatting broken (#5536)
This commit is contained in:
parent
4cb20331c6
commit
6549d19a99
6 changed files with 3 additions and 8 deletions
|
|
@ -58,7 +58,6 @@ function alert_threshold_cross.format(ifid, alert, alert_type_params)
|
|||
granularity = engine_label,
|
||||
metric = alert_type_params.metric,
|
||||
entity = entity,
|
||||
host_category = format_utils.formatMainAddressCategory((json.decode(alert.json)).alert_generation.host_info),
|
||||
value = format_utils.formatValue(alert_type_params.value),
|
||||
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