Hi,

I tried adding the 0 to the MIB oid
(1.3.6.1.4.1.9.9.120.2.0.3.0) for the trap, but get
the same error:
Cannot find TrapOID in TRAP2 PDU
I can use ucd-snmp as trap client successfully without
any changes to the oid.

Thanks.
/Shobana

*****************************

netsnmp_udp: recvfrom fd 760 got 85 bytes (from UDP:
[10.86.242.1]:2468)

Received 85 bytes from UDP: [10.86.242.1]:2468
0000: 30 82 00 51  02 01 01 04  00 A7 82 00  48 02 02
72    0é.Q.....ºé.H..r
0016: 29 02 01 00  02 01 00 30  82 00 3A 30  82 00 0D
06    )......0é.:0é...
0032: 09 2B 06 01  04 01 09 09  78 02 05 00  30 82 00
10        +....           x...0é..
0048: 06 0C 2B 06  01 04 01 09  09 78 02 00  03 00 05
00    ..+....             x......
0064: 30 82 00 11  06 0C 2B 06  01 04 01 09  09 78 01
02    0é....+....         x..
0080: 04 00 02 01  02                                 
     .....

Cannot find TrapOID in TRAP2 PDU

--- Alex Burger <[EMAIL PROTECTED]> wrote:
> Shobana Sampath wrote:
> >>>It now receives the PDU but says:
> >>>
> >>>Cannot find TrapOID in TRAP2 PDU
> >>
> >>What did you use to send the test trap?  If you
> used
> >>snmptrap, what was 
> >>the command you used?
> > 
> > I did not use snmptrap to send the trap, I am
> using my
> > own SNMP server application for our product.
> > I placed the custom MIBs in the snmp\share\mibs
> > directory, is there anything else I need to do
> besides
> > that?
> 
> Is your SNMP server application sending for the
> snmpTrapOID:
> 
>   SNMPv2-MIB::snmpTrapOID (.1.3.6.1.6.3.1.1.4.1)
> 
> or
> 
>   SNMPv2-MIB::snmpTrapOID.0 (.1.3.6.1.6.3.1.1.4.1.0)
> 
> The second one will work, but the first will not.
> 
> Alex
> 


                
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to