Max. varbinds of PDU
Martin Janzen
janzen____pixelmetrix.com
Wed May 14 04:29:16 CEST 2003
Thomas Natterer wrote:
> [...]
> How do I get not more than 57 varbinds from a GetBulkRequest ?
> I suppose I have to configure some more parameters.
I think that the first job is to sectionalize the problem. That is, do
we know for a fact that Agent++/SNMP++ is not generating a response with
>57 varbinds? Or is it possible that the UCD-SNMP snmpbulkget is not
able to deal with a response that has >57 varbinds (or is >N bytes) --
ie. does it have an equivalent to MAX_SNMP_PACKET?
You mentioned that you have an Ethereal dump of the message that was
sent, which proves that it is less than your current 16kB limit, and
that apparently the PDU is not being truncated on the network (due to
MTU size or what have you).
Can you capture the complete message and decode it -- an ugly job, I
know! -- to see whether it really has only 57 varbinds? If it does,
then the problem is in Agent++; if not, it's in UCD-SNMP.
--
Martin Janzen
janzen at pixelmetrix dot com
More information about the AGENTPP
mailing list