ASN.1 Representation error

Dharm S <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAFyUrtaEgp-OTMtUwPR2Cvt2q+Ycsq-CbkRG9qCoOSzJK66PDg@mail.gmail.com>
Hi All,

I have compiled a mib module which works well as subagent but when i send
traps, I get the following as output without proper translation of OIDs

2014-09-21 23:56:17 localhost [UDP: [127.0.0.1]:40300->[127.0.0.1]:162]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10079) 0:01:40.79
SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::mib-2.149.0.4
SNMPv2-SMI::mib-2.149.1.9.6.0 = Gauge32: 0    SNMPv2-SMI::mib-2.149.1.9.5.0
= Gauge32: 0    SNMPv2-SMI::mib-2.149.1.1.1.1.3.1 = Timeticks: (0)
0:00:00.00

What should i do inorder to change the numerical oids to textual ones when
received by traps??

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.