[SNMP4J] Getting Table Content

Kevin J. Schmidt kjschmidt at gmail.com
Tue Nov 22 15:07:44 CET 2005


Chris,

I would strongly suggest using TableUtils. I use it in an application
I wrote and it makes your life much easier. The asynchronous version
of TableUtils.getTable() also performs pretty well, too.

-Kevin

On 11/22/05, Frank Fock <fock at agentpp.com> wrote:
> 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
>
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>


--
Kevin J. Schmidt
<kjschmidt at gmail.com>



More information about the SNMP4J mailing list