Telegraf SNMP query return Unknown Object Identifier

Hi everybody,

I am doing some test with SNMP on TICK stack running on sandbox. I have configured the SNMP plugin using the OIDs in this way:

[[inputs.snmp]]
agents = [ “10.76.34.29” ]
version = 2
community = “fluffytail”

[[inputs.snmp.field]]
name = “hostname”
oid = “.1.3.6.1.2.1.1.5.0”
is_tag = true

[[inputs.snmp.field]]
name = “uptime”
oid = “.1.3.6.1.2.1.1.3.0”

[[inputs.snmp.table]]
name = “interface”
inherit_tags = [ “hostname” ]
oid = “.1.3.6.1.2.1.2.2”

[[inputs.snmp.table.field]]
  name = "ifDescr"
  oid = ".1.3.6.1.2.1.2.2.1.2"
  is_tag = true

However when I run it, seems that telegraf prepend “::” in front of the OID like is expecting a MIB. Hereby the error

telegraf_1 | ::.1.3.6.1.2.1.2.2: Unknown Object Identifier

Linking to GitHub issue: