[snmp] Large Response Varbinds
krithi
krithinarayanan at dhyanit.com
Thu Jul 31 14:26:50 BST 2008
Hi Birgit
Thanks for the reply
I am using SNMP v2. I was able to trace that the Server(Agent) does not
respond
Regards
Krithinarayanan
Krithinarayanan
Birgit Arkesteijn wrote:
> Hi Krithinarayanan,
>
> Which version of SNMP are you using?
>
> Have a look at AbstractSnmpContext.setMaxRecvSize(int no), this might
> help you. The reason I say "might" is because the SNMP server might
> decide to reduce the response based on it's own configuration.
>
> Depending on the SNMP version:
> - in SNMPv3 this 'max size' is sent as part of the request info
> - the server might send a SNMP_ERR_TOOBIG to indicate it reduced its
> response
>
> If the limitation is due to the server, you might have no alternative
> then to split up the GetBulk request.
>
> As to the network fragmentation, as far as I know this is not
> accessible in the Java VM.
>
> Hopefully the above helps.
>
> Cheers, Birgit
>
>
> On 29/07/08 10:33, krithi wrote:
>> Hi
>> I am trying to get a GetBulk response for 5 tabular oids with
>> maxRepetition =24 and nonRepeators = 0.
>> At the max I am able to receive only 60 VarBindings.
> >
>> From Westhawk documents, I do understand that the maximum response
>> packet size is only 1300 bytes.
>> Definitely my response size is far more
>>
>> 1. Please do suggest me ways to get a real GetBulk, in which there
>> could be a Single Request, and a Single Response
>> 2. Is any fragmentation mechanism at the network level available that
>> I could use for getting a Single Response
>>
>> Just to mention I googled through the archives, but unable to find
>> any workaround
>> Please help.
>>
>> Thanks & Regards
>> Krithinarayanan
>
>
More information about the snmp
mailing list