Failed To collect Custom SNMP Collection


Actully i am doing the custom snmp datacollection but shows below error in Karaf Shell.

admin@opennms> collect -n 759 org.opennms.netmgt.collectd.SnmpCollector x.x.x.x collection=SNMP-Gen

Collect failed with: java.util.concurrent.ExecutionException: org.opennms.netmgt.collection.api.CollectionTimedOut: Timeout retrieving ‘SnmpCollectors for x.x.x.x’ for x.x.x.x.

This is my custom Snmp datacollection file.

i have tried with 0 instance.

i am able to do SNMPWALK from the karaf shell

admin@opennms> snmp-walk x.x.x.x
[.].[1] = 0
admin@opennms> snmp-walk x.x.x.x .
[.].[0] = 336273535
admin@opennms> snmp-walk x.x.x.x .
[.].[1] = 0

here i can get data by snmpwalk but not able to do same the datacollection file.

i am using Version: 26.1.1 opennms version

Please help me with this !!!

If you have an SNMP MIB from the vendor, use the MIB Compiler instead. I don’t want to discourage you, but this collection group is pretty bad.

what is the issue according to you in the datacollection file…can u help me !!!