[AGENT++] MAX_SNMP_PACKET?

Jochen Katz katz at agentpp.com
Sun Nov 19 13:08:21 CET 2006


Hi Dan,

> How can one increase the maximum allowed size of packets that can be sent
> from agent++?  I found that config_snmp_pp.h has MAX_SNMP_PACKET defined at
> 4096 - I tried modifying that and recompiling to no avail.  My big 10k snmp
> response still doesn't get sent.  I believe it's getting rejected as too
> big
> somewhere in the Snmpx send method, but I can't find where.  Help?

with snmp++v3.2 only MAX_SNMP_PACKET has to be changed and after a
complete rebuild the new limit will be active.

What manager and SNMP version do you use: For SNMPv3 requests, the
manager can/has to set the max-size-response-pdu value.

Regards,
  Jochen




More information about the AGENTPP mailing list