Skip to content

Commit

Permalink
Add IPSIpAddress syntax to ipaddr conversion in snmp plugin (influxda…
Browse files Browse the repository at this point in the history
  • Loading branch information
wegel authored and rgitzel committed Oct 17, 2018
1 parent 0d60924 commit 0a1521c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/snmp/snmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ func snmpTranslateCall(oid string) (mibName string, oidNum string, oidText strin
switch tc {
case "MacAddress", "PhysAddress":
conversion = "hwaddr"
case "InetAddressIPv4", "InetAddressIPv6", "InetAddress":
case "InetAddressIPv4", "InetAddressIPv6", "InetAddress", "IPSIpAddress":
conversion = "ipaddr"
}
} else if strings.HasPrefix(line, "::= { ") {
Expand Down

0 comments on commit 0a1521c

Please sign in to comment.