[SNMP4J] Help

Deepak Seth dseth at ADCC.COM
Tue Jul 31 18:06:13 CEST 2012


Hi can you please unsubscribe me, please remove dseth at adcc.com



Thanks and Regards 
Deepak Seth 

-----Original Message-----
From: snmp4j-bounces at agentpp.org [mailto:snmp4j-bounces at agentpp.org] On Behalf Of snmp4j-request at agentpp.org
Sent: Saturday, November 19, 2011 4:00 AM
To: snmp4j at agentpp.org
Subject: SNMP4J Digest, Vol 94, Issue 12

Send SNMP4J mailing list submissions to
	snmp4j at agentpp.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.agentpp.org/mailman/listinfo/snmp4j
or, via email, send a message with subject or body 'help' to
	snmp4j-request at agentpp.org

You can reach the person managing the list at
	snmp4j-owner at agentpp.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of SNMP4J digest..."


Today's Topics:

   1. Re: TableUtils failing to identify end of request condition
      (Frank Fock)
   2. Re: SNMP Buffer OverFlow Exception (Frank Fock)


----------------------------------------------------------------------

Message: 1
Date: Fri, 18 Nov 2011 21:16:37 +0100
From: Frank Fock <fock at agentpp.com>
Subject: Re: [SNMP4J] TableUtils failing to identify end of request
	condition
To: snmp4j at agentpp.org
Message-ID: <4EC6BD25.6050609 at agentpp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Christy,

Attachments cannot be sent through the mailing list.
I assume that the agent does not implement lexicographic ordering correctly. Some situations can be detected by TableUtils, but not all.

Maybe you can send me the logs directly to support at agentpp.com?

Best regards,
Frank


Am 18.11.2011 06:00, schrieb christyj:
> Hi Frank&  Team,
>
> The version we are using is snmp4j 2.0.2. We are running into a 
> problem for one of our devices polled using TableUtils class.
>
> The table has 62 rows, but even after 62 rows are retrieved additional 
> requests are sent by SNMPJ. Attached is a capture for the same.
>
> Packet 15 ? First TableUtils GetBulkRequest Packet 22 ? Response 
> packet retrieves last of the 62 rows Packet 23 ? GetBulkRequest sent 
> after 62 rows Packet 24 ? Response OIDs clearly indicates 
> end-of-request is reached.
>
> Also attached document gives the breakdown of the capture.
>
> Please let us know if TableUtils processing can be fixed to identify 
> end of request/table at the first OID change.
>
> Thanks
> Christy
>
>
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231



------------------------------

Message: 2
Date: Fri, 18 Nov 2011 21:49:51 +0100
From: Frank Fock <fock at agentpp.com>
Subject: Re: [SNMP4J] SNMP Buffer OverFlow Exception
To: snmp4j at agentpp.org
Message-ID: <4EC6C4EF.4020105 at agentpp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Vinod,

You do not have to change anything on OS level.
With SNMP you cannot send packets that exceed 64K.
But I do not think that this is the problem here.
I guess that you modify the PDU contents while it is being encoded. Have you checked that already?

Best regards,
Frank


Am 18.11.2011 05:53, schrieb vinod:
> Hi,
>
> I am facing the Buffer OverFlow Exception when trying to do send a 
> snmp packet. The Stack Trace is given below.
>
> java.nio.BufferOverflowException
>          at java.nio.Buffer.nextPutIndex(Buffer.java:513)
>          at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:163)
>          at org.snmp4j.asn1.BEROutputStream.write(BEROutputStream.java:64)
>          at org.snmp4j.asn1.BER.encodeHeader(BER.java:119)
>          at org.snmp4j.smi.Null.encodeBER(Null.java:99)
>          at
> org.snmp4j.smi.VariableBinding.encodeBER(VariableBinding.java:181)
>          at org.snmp4j.PDU.encodeBER(PDU.java:528)
>          at org.snmp4j.mp.MPv1.prepareOutgoingMessage(MPv1.java:132)
>          at
> org.snmp4j.MessageDispatcherImpl.sendPdu(MessageDispatcherImpl.java:44
> 4)
>
> I had increased all the memory limits in linux and still facing this 
> problem very often. Kindly guide me in solving the problem.
>
> Thanks,
> Vinod Kumar Boppanna
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231



------------------------------

_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j


End of SNMP4J Digest, Vol 94, Issue 12
**************************************



More information about the SNMP4J mailing list