SNMP++ V3 - Data size problem

Shrikanth D shrikanthd23____yahoo.com
Wed Jul 9 09:05:22 CEST 2003


Hi,
 
I am developing a snmp V3 agent.
I have a Mib table with more than 20 columns in it - many of them strings.
 
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.
////////////////////////////////////////////////////////////////////////
 
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.
Should the manager then only request one row by row?
 
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! 
 
Thanks and regards,
Shrikanth
 


---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20030709/0d001c1c/attachment.htm 


More information about the AGENTPP mailing list