[AGENT++] Size limit of an OctetString inside a MibTable ?
Frank Fock
fock at agentpp.com
Wed Jun 29 15:03:42 CEST 2011
Hi,
I only have to add, that the DisplayString textual
convention limits the length (size) to 255 characters.
Best regards,
Frank
On 28.06.2011 22:17, Jochen Katz wrote:
> Hi,
>
>> I would like to know what is the size limit of a DisplayString contained
>> into a MibTable ?
>
> there is no size limit for the string itself, but if it is too long, you
> cannot retrieve it any more ;-)
>
>> I use to populate my table with security certificates of max size of
>> 3KB. I now have to use 9KB data (in the future maybe up to 64KB) and I
>> do get a 'SNMP protocol error').
>
> This indicates that the agent supports a bigger PDU size than the manager.
>
> The default for snmp++/agent++ is
> #define MAX_SNMP_PACKET 4096
> So 3KB will work, but 9KB not.
>
> Note that the maximum message size is limited by UDP to 64K.
>
> Regards,
> Jochen
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the AGENTPP
mailing list