[SNMP4J] Re: Different restult with different maxRepetitons

Frank Fock fock at agentpp.com
Tue May 22 23:11:00 CEST 2007


Hi Daniel,

If it works better by specifying the table OID instead
of the columns then there is something totally wrong.
I guess that some of the agents cannot handle the PDU
size, GETBULK with many columns, lexicographic ordering,
etc.

Best regards,
Frank

Daniel Gyorfi wrote:
> Hi all!
> 
> I found that the result looks OK if I only give the getTable the oid
> of the table, instead of all the oids of the column objects.
> But still if you think I should know something useful, please let me know.
> 
> Thanks,
> 
> On 22/05/07, Daniel Gyorfi <gd425 at hszk.bme.hu> wrote:
>> Hi all, Hi Frank!
>>
>> I'm using the library's getDenseTable and getTable methods to get
>> values from a table.
>> I'm testing it on different switches and they return different results
>> (not the values, but e.g. rows with "null") on the same mib table.
>>
>> I tried to configure the getTable with the maxRepetitions value and
>> found out that the result is different with different maxRepetitions.
>> With 6 is good, but with 10 (which is also used in SnmpRequest i
>> think) is return the table with lots of "null" rows, but it still
>> depends on the type of the switch.
>>
>> Can you give a verbose advice about when to use getTable and
>> getDenseTable and about how to use their maxRepetitions.
>>
>> Many Thanks,
>> Daniel
>>
>> PS: I know that maxRep is used by GETBULK, and how that works.
>>
>> -- 
>> Daniel Gyorfi
>> xn--gyrfidniel-x4a35k
>>
>>
>> -- 
>> Daniel Gyorfi
>> xn--gyrfidniel-x4a35k
>>
> 
> 

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list