Max. varbinds of PDU

Thomas Natterer Thomas.Natterer____thalesatm.com
Mon May 12 15:25:53 CEST 2003


Hey,

I have some questions concerning the maximal varbind in PDU's in snmp++.
(Using snmp++ 3.2.6B and agent++ 3.5.11c)
(See also in the MailingList: MAX_VBS, 05 Mar 2002)

I would like to get all data from a table
(5 col, 16 rows -> 80 varbinds)

So I changed PDU_MAX_VBS from 50 to 100
and MAX_SNMP_PACKET from 4096 to 8192.


(config_snmp_pp.h)
#define PDU_MAX_VBS 100
#define MAX_SNMP_PACKET 8192


But a GetBulkRequest (UCD-SNMP-Tool) on this table delivers only 57
varbinds !
(snmpbulkget ... -B 0 80 ...) -> only 57 varbinds received
(snmpbulkget ... -B 0 100 ...) -> only 57 varbinds received

If I changed the PDU_MAX_VBS to 80 (60) still only 57 varbinds were
delivered.
Finally I configured PDU_MAX_VBS back to 50. After that 50 varbinds were
delivered !

How do I get not more than 57 varbinds from a GetBulkRequest ?
I suppose I have to configure some more parameters. 

Thanks in advance



More information about the AGENTPP mailing list