SNMP++ V3 - Data size problem
Jochen Katz
katz____agentpp.com
Wed Jul 9 22:26:24 CEST 2003
Hi,
> When a snmp manager requests just 1 row from this table using getBulk
> everything works fine.
> But when the manager requests more rows in its getBulk request - say 10
> rows, then I see the following error message on the console and no
> response is sent back to the manager.
>
> ////////////////////////////////////////////////////////////////////////
> usmBuildWholeMsg error: msgDataLength = 2068
> maxLength = 2028, encoded = 85
> usm: could not generate wholeMsg
> v3MP finished NOT OK: errorcode 1401.
> ////////////////////////////////////////////////////////////////////////
are you using an older version of agent++/snmp++? If yes, please update
to the latest version, as from snmp++v3.2.3b and newer this should not
occur.
> As I understand, irrespective of the number of rows the manager
> requests, the agent must fill the maximum possible complete rows and
> return. But this error is perplexing.
Yes, it should work as you described.
> I have another related query, presently the size of a snmp pdu is being
> limited to around 1k. What happens, if a single row of a table exceeds
> this limit? This is quite possible in my case!
Then you will get a "Too big" response.
Regards,
Jochen
More information about the AGENTPP
mailing list