[SNMP4J] Getting Table Content

Frank Fock fock at agentpp.com
Tue Nov 22 09:26:00 CET 2005


Hi Chris,

You can use TableUtils (see 
http://www.snmp4j.org/doc/org/snmp4j/util/TableUtils.html)
to retrieve table data by rows and with GETBULK (if using SNMPv2c or 
higher).

Does this help?

Best regards,
Frank

Chris Kam wrote:

>Hi all,
> Just wana know is SNMP4J support us to get the whole table content which
>provided by the host computer like the Host-Resources-MIB. Is there any
>example which let me to retrive the data from the table hrStorageTable,
>since I have to get all the disk space from many servers in a short peroid
>of time and I was using a stupid method (loop with each OID) to get what i
>want.
> Actually my way work but slow, and sometimes, it cannot get the correct
>data.
> Does anyone can solve my problem? Thanks.
> Chris
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>  
>


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





More information about the SNMP4J mailing list