Add IPSIpAddress syntax to ipaddr conversion in snmp plugin (#4471)
This commit is contained in:
parent
3d1c650c54
commit
06d5501d92
|
@ -1010,7 +1010,7 @@ func snmpTranslateCall(oid string) (mibName string, oidNum string, oidText strin
|
||||||
switch tc {
|
switch tc {
|
||||||
case "MacAddress", "PhysAddress":
|
case "MacAddress", "PhysAddress":
|
||||||
conversion = "hwaddr"
|
conversion = "hwaddr"
|
||||||
case "InetAddressIPv4", "InetAddressIPv6", "InetAddress":
|
case "InetAddressIPv4", "InetAddressIPv6", "InetAddress", "IPSIpAddress":
|
||||||
conversion = "ipaddr"
|
conversion = "ipaddr"
|
||||||
}
|
}
|
||||||
} else if strings.HasPrefix(line, "::= { ") {
|
} else if strings.HasPrefix(line, "::= { ") {
|
||||||
|
|
Loading…
Reference in New Issue