Re: handling timeout while monitoring overloaded application

"Steve S. Law" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I understand that there is some timeout value between
master agent and my sub-agent (default 1 second?). I
also have timeout between sub-agent and the
application that is  being monitored. The client
(snmpget/snmpwalk) also has time out (via -t option). 
What guidelines should I follow to set various
timeouts in this situation?  Can they be set
independently without causing timeouts? For example,
between sub-agent and monitored application, the
timeout is set to 60 seconds(sometimes, application is
so busy it can take that long to respond to
sub-agent). Between master and sub-agent, default time
out is 1 second . snmpwalk command has 1000 seconds
timeout. Does these values make sense?

agentxRetries , agentxPingInterval, agentxTimeout
Do these 3 paramters work properly in version 5.2.1?  

agentXRetries, agentXTimeout are to control master
agent (snmpd.conf) only?

I understand 5.2.1 is not the latest one. Does the
current latst version work the same as 5.2.1 in the
area of agentX support? Do u recommend upgrading to
latest version? (my main use of net-snmp is because of
its agentX functionality - I have only 1 MIB, only 1
sub-agent). 5.2.1

Thanks
Steve


--- Wes Hardaker <[email protected]>
wrote:

> >>>>> On Thu, 30 Mar 2006 16:17:27 -0800 (PST),
> "Steve S. Law" <[email protected]> said:
> 
> Steve> I have create a new thread in each of those
> processes
> Steve> to respond to the SNMP request.
> 
> 1) the net-snmp stack is not thread safe from the
> agent perspective.
>    This likely won't work.
> 
> Steve> In a situation like that what should I do to
> avoid
> Steve> those errors? Is it possible? Where do I
> start? 
> 
> You can put the following line in your .conf file
> for your
> agentx-instrumented daemon:
> 
>   agentxPingInterval 30
> 
> Which will make the subagent try to ping the master
> every 30 seconds
> and reconnect if there is no response.
> -- 
> Wes Hardaker
> Sparta, Inc.
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.