[SNMP4J] getTable()

Frank Fock fock at agentpp.com
Fri Dec 15 02:40:07 CET 2006


Hello Ken,

Misusing getTable() for BULK retrieval is not
efficient. I would strongly recommend using
GETBULK requests instead!

The timeout occurs probably because the agent
tries to return objects that are costly to
retrieve from internal sub-systems and your
timeout value is too small to allow that.

Best regards,
Frank

ken daniel wrote:
> Hello;
> 
> I'm using getTable to try to do a dump of all the
> OID's on at given piece of hardware. (using 1.3.6.1.2
> as the base)
> 
> 
> After ~1000 oid's the table returns a TIMEOUT.  Why?
> 
> I have tried to change the block size and some other
> things with no change.
> 
> It is also weird that I never seem to get back the
> same number of oid's but it is always near 1000.
> 
> Thanks
> 
> Ken
> 
> 
>  
> ____________________________________________________________________________________
> Cheap talk?
> Check out Yahoo! Messenger's low PC-to-Phone call rates.
> http://voice.yahoo.com
> _______________________________________________
> 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