[SNMP4J] Retrieving OIDs & their values via synchronous SNMP
Hansi Lao
lao_hansi at yahoo.com
Wed Sep 23 07:00:01 CEST 2009
Hello All,
Is it possible to extract the OIDs & their associated value using synchronous SNMP when retreiving an table?
Using the code snippet below as an example:
List list = tableUtils.getTable(target, columns,
lowerBoundIndex, upperBoundIndex);
// To retrieve each tableEvent instance, we do:
for( int i=0; i<list.size(); i++ ) {
System.out.println( list.get(i));
}
Since the code above retrives a list of tableEvent instances, how can I retrieve/extract the OIDs & their associated values?
Thank you for your help,
H
More information about the SNMP4J
mailing list