Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-10-06 Thread Murali Natarajan
[mailto:snmp4j-boun...@agentpp.org] On Behalf Of Frank Fock Sent: Tuesday, October 05, 2010 6:27 PM To: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs Hi, Please read the SNMPv3 RFCs (especially the USM) carefully. The trap sender is authoritative. Therefore

Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-08-13 Thread Murali Natarajan
Architecture 312-954-1670 murali.natara...@jpmchase.com -Original Message- From: Mackay, Scott [mailto:scott.mac...@progeny.net] Sent: Tuesday, August 10, 2010 12:33 PM To: Murali Natarajan Cc: snmp4j@agentpp.org Subject: RE: [SNMP4J] SNMP trap message parsing using SNMP4J APIs Have you looked

Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-08-13 Thread Frank Fock
@agentpp.org Subject: RE: [SNMP4J] SNMP trap message parsing using SNMP4J APIs Have you looked at the MessageProcessingModel (and MPv3,MPv1, MPv2c)? There is a method prepareDataElements() which seems responsible for converting streams into the SNMP4j classes though I have not done

Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-08-13 Thread Murali Natarajan
murali.natara...@jpmchase.com -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Friday, August 13, 2010 9:36 AM To: Murali Natarajan Cc: Mackay, Scott; snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs Hi, This might be a misunderstanding

Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-08-13 Thread Murali Natarajan
Sent: Friday, August 13, 2010 10:00 AM To: Frank Fock Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs Thanks for the explanation.. I am new to using SNMP4J - it would be helpful to have the lines of code or sample that does the PDU extract vs. header etc.. I

Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-08-11 Thread Murali Natarajan
To: Murali Natarajan Cc: snmp4j@agentpp.org Subject: RE: [SNMP4J] SNMP trap message parsing using SNMP4J APIs Have you looked at the MessageProcessingModel (and MPv3,MPv1, MPv2c)? There is a method prepareDataElements() which seems responsible for converting streams into the SNMP4j classes

Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-08-10 Thread Murali Natarajan
Natarajan; snmp4j@agentpp.org Subject: RE: [SNMP4J] SNMP trap message parsing using SNMP4J APIs A good method is following the steps used in the SnmpRequest.java from the source code. The code is located in src/org/snmp4j/tools/console and is 1 file. As a note, if you are in that directory you can

Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-08-10 Thread Murali Natarajan
...@jpmchase.commailto:murali.natara...@jpmchase.com From: Shlomo [mailto:shl...@tikalk.com] Sent: Tuesday, August 10, 2010 11:50 AM To: Murali Natarajan Cc: Mackay, Scott; snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs Hi, Is this what you need? public void processPdu

Re: [SNMP4J] SNMP trap message parsing using SNMP4J APIs

2010-08-10 Thread Mackay, Scott
[mailto:murali.natara...@jpmchase.com] Sent: Tue 8/10/2010 1:20 PM To: Shlomo Cc: Mackay, Scott; snmp4j@agentpp.org Subject: RE: [SNMP4J] SNMP trap message parsing using SNMP4J APIs Nope. This part is being handled by another tool. It will receive the incoming trap and return a byte []. That is my starting point