Re: handling timeout while monitoring overloaded application

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> 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.


-------------------------------------------------------
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.