[SNMP4J] TableUtils & SubIndex

Frank Fock fock at agentpp.com
Wed Dec 7 00:10:05 CET 2011


Hi Osian,

Currently TableUtils does not support your use case
(directly). But it is a good idea for further development.

The proposed approach with a second get (can be sent
on behalf of the TableEvent callback) for TableA is
the right one.

Best regards,
Frank

Am 06.12.2011 13:09, schrieb Osian Hughes:
> Hi,
>
> I want to be able to utilize the TableUtils class to collect data from 2 tables.
>
> Lets say that TableA has indexes 1, 2, 3, 4,
> And TableB has indexes 1.1.2&  3.1.2
>
> How do I tell TableUtils that TableB has a sub-index which matches TableA, and that I am only interested in getting values back which only has a match for these sub-indexes (I.e. Ignore indexes 2&  4 from TableA)?
> One approach that I could take is to process TableB first, and then create my own similar TableUtils class to perform the actual GET's on TableA (unless there is a TableUtils class that handle's direct GET's already?)
>
> Thanks,
> Osian
>
> ________________________________
> This email and any attachment may contain confidential information which is intended for use only by the addressee(s) named above. If you received this email by mistake, please notify the sender immediately, and delete the email from your system. You are prohibited from copying, disseminating or otherwise using the email or any attachment.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list