mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Fixes incomplete active monitoring messages upon check failures
Fixes #5420
This commit is contained in:
parent
e6c41782d9
commit
f242b94b6d
2 changed files with 5 additions and 3 deletions
|
|
@ -56,7 +56,9 @@ function alert_am_threshold_cross.format(ifid, alert, alert_type_params)
|
|||
if(alert_type_params.value == 0) then -- host unreachable
|
||||
if(alert_type_params.alt_i18n) then
|
||||
-- The measurement may have defined a custom message via unreachable_alert_i18n
|
||||
msg = i18n(alert_type_params.alt_i18n) or alert_type_params.alt_i18n
|
||||
msg = i18n(alert_type_params.alt_i18n,
|
||||
{host = ip_label,
|
||||
numeric_ip = numeric_ip}) or alert_type_params.alt_i18n
|
||||
end
|
||||
|
||||
-- Fallback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue