[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-coders
Subject:    Re: Why are Session Timeout and Session Retries values hard coded?
From:       Wes Hardaker <hardaker () users ! sourceforge ! net>
Date:       2009-04-23 14:41:36
Message-ID: sdeivjjuu7.fsf () wes ! hardakers ! net
[Download RAW message or body]

>>>>> On Wed, 22 Apr 2009 18:44:55 +0530, Logeswari Viswanath <logi85@gmail.com> said:

LV> Why are the values for the session attributes such as session timeout
LV> and retries are hard coded while initializing the session attributes in the
LV> function subagent_open_master_session() for the sub-agent?

LV> Can't these values be made configurable by the user through the variables
LV> agentXTimeout and agentXRetries in the configuration file
LV> /.snmp/agentx.conf?

If you've found hard-coded values that's too bad.  Generally we make
almost everything configurable (and in fact the default_store mechanisms
make it very easy to add new config tokens for simple integers, strings,
etc).  We'd happily consider a patch to add new configuration support if
you want to submit one!
-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic