Added SNMP interface polling collection sent by nProbe via ZMQ (--snmp-mappings)

This commit is contained in:
Luca 2022-08-27 18:20:45 +02:00
parent c087c27f61
commit 23cfc5efb8
7 changed files with 237 additions and 199 deletions

View file

@ -5164,7 +5164,7 @@ function format_portidx_name(device_ip, portidx, short_version, shorten_string)
snmp_location = require "snmp_location"
if not port_info["id"] then
port_info["id"] = port_info["index"]
port_info["id"] = portidx
port_info["snmp_device_ip"] = cached_dev["host_ip"]
end