mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added score to flow alert description (#5862)
This commit is contained in:
parent
6b7bcef800
commit
d468ee8f45
2 changed files with 10 additions and 0 deletions
|
|
@ -4551,6 +4551,14 @@ function getFullObsPointName(observation_point_id, compact, add_id)
|
|||
return observation_point_id
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function addScoreToAlertDescr(msg, score)
|
||||
return (msg .. string.format(" [%s: %s]",
|
||||
i18n("score"),
|
||||
format_utils.formatValue(score)))
|
||||
end
|
||||
|
||||
-- #####################
|
||||
|
||||
local iec104_typeids = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue