[AGENT++] Maximum message size

Jochen Katz katz at agentpp.com
Fri Nov 26 21:24:38 CET 2004


Hi Marcus,

> So I tried to reduce the stack usage by configuring SNMP++/Agent++ to
> an appropriate maximum message length of 2048 bytes (assumption: 1024
>  bytes value + OID + SNMPv3 security stuff + X). I verified this with
>  a network analyzer.
> After that the only thing I received is "usmStatsUnknownEngineIDs" as
>  response.

I limited the size to 1000 for examples SnmpNext and atm_mib agent and 
had no problems doing a walk on the agent.

> I tried the same with 3072 bytes and failed again. A message size of 
> 4096 bytes works fine.

> Does someone has an idea? Is there any constraint to the minimum 
> message size?

I don't know of any. As you are able to use a network analyzer: ;-)
How does the message exchange look like? For the first request you 
should see a report "unknown engine id", then a "not in time" report and 
finaly a valid response.

Does the agent send a "unknown engine id" to the second request or does 
the manager stop after receiving the first "unknown engine id" report?

Regards,
   Jochen




More information about the AGENTPP mailing list