On Tue, 2008-11-11 at 12:26 -0800, Need Help wrote:
> I am using NetSNMP v5.4.1 and I am using a subagent to gather data for
> my MIB.
> 
> When performing a SNMP query which needs to gather a bunch of data,
> sometimes the SNMP query times out thus resulting in no data being
> displayed.  I am assuming this is because the master agent has timed
> out waiting for the data to come back from the subagent.  Most of the
> time the data is returned and displayed fine, but I need to make it
> more reliable. 
> 
> Is there a way to increase the wait time period before a SNMP query
> times out?

You can tell the client to wait longer but there is no way to
communicate to the agent that you are willing to wait for the data.

The best way would be if you could decouple the data generation from the
request and cache the data in the agent so that the agent can respond
faster.
This might mean that you have to change the structure of the data that
you are returning and this all depend on what MIB you are realizing.

/MF


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to