same error.
C:\NetSNMP\usr\bin>snmptrapd -Ddump -c
C:\NetSNMP\usr\etc\snmp\snmptrapd.conf -
M c:/usr/share/snmp/mibs udp:127.0.0.1:199
No log handling enabled - turning on stderr logging
registered debug token dump, 1
NET-SNMP version 5.4.1
dumpx_recv:02 01 01
dumpv_recv: Integer: 1 (0x01)
dumph_recv: SNMPv2c message
dumph_recv: SNMP version
dumpx_recv: 02 01 01
dumpv_recv: Integer: 1 (0x01)
dumph_recv: community string
dumpx_recv: 04 06 70 75 62 6C 69 63
dumpv_recv: String: public
dumph_recv: PDU
dumpv_recv: Command TRAP2
dumph_recv: request_id
dumpx_recv: 02 02 06 8A
dumpv_recv: Integer: 1674 (0x68A)
dumph_recv: error status
dumpx_recv: 02 01 00
dumpv_recv: Integer: 0 (0x00)
dumph_recv: error index
dumpx_recv: 02 01 00
dumpv_recv: Integer: 0 (0x00)
dumph_recv: VarBindList
dumph_recv: VarBind
dumph_recv: Name
dumpx_recv: 06 08 2B 06 01 02 01 01 03 00
dumpv_recv: ObjID: DISMAN-EVENT-MIB::sysUpTimeInstance
dumph_recv: Value
dumpx_recv: 43 01 00
dumpv_recv: UInteger: 0 (0x00)
dumph_recv: VarBind
dumph_recv: Name
dumpx_recv: 06 08 2B 06 01 02 01 01 06 00
dumpv_recv: ObjID: SNMPv2-MIB::sysLocation.0
dumph_recv: Value
dumpx_recv: 04 09 6A 75 73 74 20 68 65 72 65
dumpv_recv: String: just here
Cannot find TrapOID in TRAP2 PDU
2010/8/2 Dave Shield <[email protected]>
> On 2 August 2010 10:00, YAHYAOUI Mohammed <[email protected]> wrote:
> > C:\NetSNMP\usr\bin>snmptrap -Ddump -v 2c -c public localhost:199 0
>
> Please give the *WHOLE* command!
>
>
> >> And what is the output of the other command:
> >> snmptrap -Ddump -v 2c -c public localhost:199 0
> >> NOTIFICATION-TEST-MIB::demo-notif
> >> SNMPv2-MIB::sysLocation.0 s "just here"
>
>
> It starts with "snmptrap" and ends with "just here"
> All on one line.
>
> Dave
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders