[SNMP4J] TableUtils problem

Liav Elias lelias at allot.com
Wed Feb 2 07:47:56 CET 2005


Hi Frank,

Maybe this can help:
When I am changing the order of the table columns in the OID[] and 
I put the problematic column in the beginning and all the rest of the columns after it
I receive valid values.
hope it helps.

thanks,
Liav

-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com]
Sent: Tue, February 01, 2005 1:50 AM
To: Liav Elias
Cc: 'Snmp4j (E-mail)
Subject: Re: [SNMP4J] TableUtils problem


Hi Liav,

I have created a fix for version 1.1 which seems to work fine
with sparse tables, but before I post it here, I will do some
more tests with different scenarios...

Best regards,
Frank

Liav Elias wrote:

>Hi, 
>
>I am using TableUtils.getTable(Target,OID[],OID,OID)  in order to read a table from the agent.
>When I am using it on a table which has a certain column which has in some rows a value and in some does not have a value I receive 
>an empty result. I get a TableEvent object which is empty and its status is -2 (STATUS_WRONG_ORDER).
>if I am using it on a column which is full of values or completely empty I get the correct results.
>does any one have an idea?
>thanks,
>Liav
>
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://p15141779.pureserver.info/mailman/listinfo/snmp4j
>
>  
>





More information about the SNMP4J mailing list