[SNMP4J] help in getTable

Frank Fock fock at agentpp.com
Wed Jan 10 01:08:44 CET 2007


Status -4, as documented in
http://www.snmp4j.org/doc/org/snmp4j/util/RetrievalEvent.html
reports that an exception occurred during retrieval.

The exception occurs most likely because you used an illegal
OID. ".1.3.6.1.2.1.2.2" is illegal because of the leading dot,
which is a special notation of the NET-SNMP library but not
standard conform and not supported by SNMP4J!

Best regards,
Frank

Lauryca Puyulik wrote:
> Hi, I`m new in snmp4j and I have some questions regarding to table() method from SnmpRequest. When I used this method, my response was :
> 14:49:57,296 INFO  [STDOUT] Table received in 1500 milliseconds.
> 14:49:57,906 INFO  [STDOUT] Table walk completed with status -4. Received 0 rows.
> 
> 1. Why 0? 
> 2. What`s means status 4?
> 3. The pduType = PDU.GETBULK (is my default pduType) is correct?
> 4. To use .1.3.6.1.2.1.2.2 as the base is correct?
> 
> Thanks!
> 
> 
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.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