nv-l
[Top] [All Lists]

Re: [NV-L] snmp_parse_v2trap: rc _SnmpEncodeMessage = -13

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] snmp_parse_v2trap: rc _SnmpEncodeMessage = -13
From: James Shanks <jshanks@us.ibm.com>
Date: Tue, 26 Aug 2008 11:41:27 -0400
Delivery-date: Tue, 26 Aug 2008 16:43:56 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <5D890A5116074A409DC37A745F32419D@elitecore.com>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

You will need to open a problem to IBM Support and send them your trapd.trace output for analysis.

The way that trapd works with SNMPv2 traps is to translate them into SNMPv1 versions, and then put them on his internal queue, so that all traps are parsed in exactly the same fashion. But for some reason the encoding from SNMPv2 to SNMPv1 is not working. Whether that is due to a problem in the code or in the trap is a matter for Support to figure out.

James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp
Inactive hide details for "Sumit Pandya" <sumit@elitecore.com>"Sumit Pandya" <sumit@elitecore.com>


          "Sumit Pandya" <sumit@elitecore.com>
          Sent by: nv-l-bounces@lists.ca.ibm.com

          08/26/2008 11:08 AM
          Please respond to
          Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>


To

<nv-l@lists.ca.ibm.com>

cc


Subject

[NV-L] snmp_parse_v2trap: rc _SnmpEncodeMessage = -13

All,
In one of our product we generate SNMP v2c Trap for Server Up/Down
notification.

These traps works perfectly fine with many of Trap browser like
AdventNet, etc. However IBM Tivoli Netview give me parsing error into
trapd.trace file
Below is snip of concern portion from trapd.trace file

Thu Aug 21 14:03:27 2008 del_first_event: [22] [0] all events sent
30 4d 02 01 01 04 06 70 75 62 6c 69 63 a7 40 02     0M.....public.@.
01 00 02 01 00 02 01 00 30 35 30 10 06 08 2b 06     ........050...+.
01 02 01 01 03 00 43 04 00 f6 b6 04 30 21 06 0a     ......C.....0!..
2b 06 01 04 01 81 a4 4b 01 04 04 13 50 52 4f 58     +......K....PROX
59 5f 41 43 43 54 20 73 74 6f 70 70 65 64 2e --     Y_ACCT stopped..
Thu Aug 21 14:03:31 2008 snmp_parse_v2trap: rc _SnmpEncodeMessage = -13 Thu
Aug 21 14:03:31 2008 queue_event: queued 79 bytes.

Thu Aug 21 14:03:31 2008 process_event: de-queued 79 bytes.

Thu Aug 21 14:03:31 2008 process_event: received UDP trap from 10.16.16.13
Thu Aug 21 14:03:31 2008 snmp_parse_trap: invalid version Thu Aug 21
14:03:31 2008 snmp_parse_trap: packet is not a snmp trap
  0:  30 81 d6  2  1  0  4  6 70 75 62 6c 69 63 a4 81  0.......public..
 16:  c8  6  9 2b  6  1  4  1  2  6  3  1 40  4  a 10  ...+........@...
 32:  33 15  2  1  6  2  4  3  2  0  0 43  1  0 30 81  3..........C..0.
 48:  a8 30 11  6  c 2b  6  1  4  1  2  6  3  1  1  2  .0...+..........
 64:   0  2  1  4 30 16  6  c 2b  6  1  4  1  2  6  3  ....0...+.......
 80:   1  1  3  0  4  6 3c 6e 6f 6e 65 3e 30 57  6  c  ......<none>0W..
 96:  2b  6  1  4  1  2  6  3  1  1  4  0  4 47 57 41  +............GWA
112:  52 4e 49 4e 47 3a 20 69 6e 76 61 6c 69 64 20 53  RNING: invalid S
128:  4e 4d 50 54 72 61 70 20 70 61 63 6b 65 74 20 66  NMPTrap packet f
144:  72 6f 6d 20 61 67 65 6e 74 20 31 30 2e 31 36 2e  rom agent 10.16.
160:  31 36 2e 31 33 20 73 6f 75 72 63 65 20 41 20 70  16.13 source A p
176:  69 64 20 2d 31 30 10  6  c 2b  6  1  4  1  2  6  id -10...+......
192:   3  1  1  5  0  4  0 30 10  6  c 2b  6  1  4  1  .......0...+....
208:   2  6  3  1  1  6  0  4  0 -- -- -- -- -- -- --  ................
Thu Aug 21 14:03:31 2008 add_appl: [23] connected


Please help me in resolution of this problem which coming at customer end.

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)

GIF image

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web