SNMP_TRAP : Error resolving OID

Hi, I am having issues with telegraf snmp_trap.

Telegraf 1.22.1

Error:
[inputs.snmp_trap] Error resolving OID oid=.1.3.6.1.2.1.1.3.0, source=10.16.8.33: command timed out

Telegraf conf:
[[inputs.snmp_trap]]
service_address = “udp://:162”
path = ["/usr/share/snmp/mibs/UCS_Cseries2.0"]

MIB:

ll /usr/share/snmp/mibs/UCS_Cseries2.0

total 3612
-rw-r–r-- 1 506 506 16468 Jun 16 2014 CISCO-SMI.my
-rw-r–r-- 1 506 506 94342 Jun 16 2014 CISCO-TC.my
-rw-r–r-- 1 506 506 948239 Jun 16 2014 CISCO-UNIFIED-COMPUTING-ADAPTOR-MIB.my
-rw-r–r-- 1 506 506 355517 Jun 16 2014 CISCO-UNIFIED-COMPUTING-COMPUTE-MIB.my
-rw-r–r-- 1 506 506 691875 Jun 16 2014 CISCO-UNIFIED-COMPUTING-EQUIPMENT-MIB.my
-rw-r–r-- 1 506 506 34865 Jun 16 2014 CISCO-UNIFIED-COMPUTING-FAULT-MIB.my
-rw-r–r-- 1 506 506 91743 Jun 16 2014 CISCO-UNIFIED-COMPUTING-MEMORY-MIB.my
-rw-r–r-- 1 506 506 195267 Jun 16 2014 CISCO-UNIFIED-COMPUTING-MIB.my
-rw-r–r-- 1 506 506 2985 Jun 16 2014 CISCO-UNIFIED-COMPUTING-NOTIFS-MIB.my
-rw-r–r-- 1 506 506 64449 Jun 16 2014 CISCO-UNIFIED-COMPUTING-PROCESSOR-MIB.my
-rw-r–r-- 1 506 506 227158 Jun 16 2014 CISCO-UNIFIED-COMPUTING-STORAGE-MIB.my
-rw-r–r-- 1 506 506 823644 Jun 16 2014 CISCO-UNIFIED-COMPUTING-TC-MIB.my
-rw-r–r-- 1 506 506 17177 Jun 16 2014 INET-ADDRESS-MIB.my
-rw-r–r-- 1 506 506 2840 Jun 16 2014 ITU-ALARM-TC-MIB.my
-rw-r–r-- 1 506 506 22354 Jun 16 2014 SNMP-FRAMEWORK-MIB.my
-rw-r–r-- 1 506 506 528 Jun 16 2014 SNMPv2-CONF.my
-rw-r–r-- 1 506 506 31946 Jun 16 2014 SNMPv2-MIB.my
-rw-r–r-- 1 506 506 1349 Jun 16 2014 SNMPv2-SMI.my
-rw-r–r-- 1 506 506 35185 Jun 16 2014 SNMPv2-TC.my

Thanks in advance if anyone helps on this !
Regards,
Shubhra.

Sorry for the delay in getting back to you :). This comment on the GoSNMP repo makes me think we just need to implement a setting which has been done in this pr if you wouldn’t mind giving it a test.

Hi, did you find a solution ? I am having the same problem with Telegraf 1.23.0
Thanks
Regards

@Ruij,

The pr to fix this issue was included in 1.23.2.

Do mind upgrading and seeing if that resolves your issue?

Thanks!