Max. varbinds of PDU

Frank Fock Frank.Fock____t-online.de
Mon May 12 20:29:51 CEST 2003


Thomas,

Probably MAX_SNMP_PACKET size is too small for more
than 57 VBs of your table instance.

Best regards,
Frank Fock

Thomas Natterer wrote:
> 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