[SNMP4J] TableUtil and PDUFactory - too many PDUs

Frank Fock fock at agentpp.com
Fri Jan 14 00:08:38 CET 2005


Hello Chris,

Are you using SNMPv1? Then the observed behavior would be
normal, because SNMPv1 does not support GEBULK operations
where the maxNumRowsPerPDU parameter is used. The
maxNumColumnsPerPDU does not have any impact, because you
only requesting two columns.

Best regards,
Frank

chk-world at gmx.de wrote:

>Hello,
>
>using the TableUtil class and implementing a PDUFactory I checked how many
>PDUs are created. I thought the number of PDUs (and so the number of
>packages send to the agent) would increase or decrease depending on the set
>of setMaxNumColumnsPerPDU and setMaxNumRowsPerPDU for the TableUtil class.
>
>I pass two OIDs which describe two columns (following each other) of the
>same table. I have 72 entrys in the table. There are allways 73 PDUs created
>and send (I checked with ethereal) no matter whether I set
>setMaxNumColumnsPerPDU and setMaxNumRowsPerPDU to 2 or 100.
>
>Someone having an idea?
>
>Thanks in advance,
>Chris
>
>  
>





More information about the SNMP4J mailing list