Fixes exporter ip not converted correctly

This commit is contained in:
Matteo Biscosi 2025-09-04 09:57:39 +02:00
parent 6fa1473fab
commit 402e33ee44
2 changed files with 7 additions and 0 deletions

View file

@ -95,6 +95,10 @@ function getProbeName(exporter_ip, show_vlan, shorten_len, show_ip_and_alias)
show_ip_and_alias = true
end
if tonumber(exporter_ip) then
exporter_ip = ntop.inet_ntoa(exporter_ip)
end
local cached_device_name
local snmp_cached_dev