I have got the below OID from the MIB file compiler and i have configured the same in my agent in order to identify and process the snmp trap.
Configured trap OID: 22.214.171.124.4.1.48126.96.36.199.1
Problem is, when agent receives the trap, OID is having extra zero at the end:
Received trap’s OID: 188.8.131.52.4.1.48184.108.40.206.1.0
This causes my agent fail to identify the trap and hence drop the trap.
How do i know whether MIB file compiled had problems or my compiler is having problem to parse and generate the OIDs?