mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added SNMP info to historical flows (#6819)
This commit is contained in:
parent
0619cd2991
commit
8adf573e49
3 changed files with 38 additions and 0 deletions
|
|
@ -5543,6 +5543,14 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function format_utils.formatSNMPInterface(snmpdevice, interface_index)
|
||||
local interface_name = format_portidx_name(snmpdevice, interface_index)
|
||||
|
||||
return string.format('%s (%s)', interface_index, (interface_name))
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function map_score_to_severity(score)
|
||||
if score ~= nil then
|
||||
return ntop.mapScoreToSeverity(score)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue