[SNMP4J] Re:Timeout for snmp

Frank Fock fock at agentpp.com
Sat Oct 8 13:51:26 CEST 2005


Hi Qiu,

If you cannot increase your timeout, then you will have
to reduce the number of columns you request at once.
But that's the only way! Most likely only increasing the
timeout will work reliably.

Best regards,
Frank

qiujs at sc.mdcl.com.cn wrote:

>
>
>
>Hi Frank,
>       When  I am using TableUtils’s getTable(Target target, OID[]
>columnOIDs, OID lowerBoundIndex, OID upperBoundIndex) method, (My calling
>method is being synchronized ), I meet with a timeout problem.
>
>         I used
>         SnmpConstants.version1
>         COMMUNITY = "public"
>         target = new CommunityTarget();
>         target.setTimeOut(6000);
>  Question: When I am querying machines using snmp, if the snmp response
>time for the monitoring host’s agent is slow (e.g. 100% cpu utilization or
>maximum network bandwidth), my snmp request down not return after 6000 ms.
>I need the request to come back within 6000ms, how do I set the timeout for
>the snmp engine?
>
>Regards ,
>Qiu
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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