[AGENT++] GetBulk
Jochen Katz
katz at agentpp.com
Wed Dec 21 20:19:55 CET 2005
Hi,
> Why isn't the PDU_MAX_VBS calculated based on the data needed to be
> retrieved and the MAX_SNMP_PACKET.
how yould you calculate it? I think its not possible, because nobody
knows how long the oids and values of all possible agents are.
> Also isn't the MAX_SNMP_PACKET the
> size of a pdu packet, and if so how can I enlarge it, it will overflow?
Both values are configured in config_snmp_pp.h. Increasing
MAX_SNMP_PACKET will increase stack usage (as some functions use local
arrays of that size (will be changed for next releases)) and increasing
PDU_MAX_VBS will increase the size of Pdu class (as it holds a
preallocated array of Vb objects).
After you have increased these defines, make tests to ensure that all
agents and managers you use can accept that large SNMP messages.
Regards,
Jochen
More information about the AGENTPP
mailing list