This is a discussion on Re: SNMPERR_TOO_LONG within the SNMP Coders forums, part of the Networking and Network Related category; On Fri, 2005-10-07 at 18:01 +0300, Andrei Pisau wrote: > After I do snmp_send I have the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Fri, 2005-10-07 at 18:01 +0300, Andrei Pisau wrote:
> After I do snmp_send I have the snmp_errno = -5 which means > SNMPERR_TOO_LONG. But the session field sndMsgMaxSize is 0, so the > conditions for snmp_send to throw SNMPERR_TOO_LONG are not fulfilled. What about the maximum length for the transport? Exceeding that can also trigger an SNMPERR_TOO_LONG error (see lines 4782ff of snmp_api.c) Try running the application with '-Dsess_async_send' (or equivalent). What does this report? The other places where SNMPERR_TOO_LONG is mentioned are all related to SNMPv3 processing. Are you sending an SNMPv3 trap, or are you using SNMPv1/2c ? Dave ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |