RE: making the cache timeout for container_load to be configurable

2015-08-18 Thread Tim Culhane
[mailto:tim.j.culh...@gmail.com] Sent: 11 August 2015 15:59 To: 'net-snmp-coders@lists.sourceforge.net' Subject: RE: making the cache timeout for container_load to be configurable Hi Robert, Being doing a bit of work on this and here is what I've got so far. Registered my confi

RE: making the cache timeout for container_load to be configurable

2015-08-11 Thread Tim Culhane
e. What is the correct way of replacing the existing cache_entry with the new one containing the updated timeout value? Thanks, Tim -Original Message----- From: NetSNMP Mailbox [mailto:net-snmp-m...@freesnmp.com] On Behalf Of Robert Story Sent: 14 July 2015 03:01 To: Tim Culhane Cc: net-snmp-coders@l

Re: making the cache timeout for container_load to be configurable

2015-07-13 Thread Robert Story
On Fri, 10 Jul 2015 07:14:47 +0100 Tim wrote: TC> I've no problem giving it a shout. TC> TC> If you could give me some guideance that would really help. Ok, first the config token to specify the timeout. Take a look at ./agent/mibgroup/mibII/vacm_conf.c and search on vacm_parse_view. You should

RE: making the cache timeout for container_load to be configurable

2015-07-09 Thread Tim Culhane
July 2015 00:52 To: Tim Culhane Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: making the cache timeout for container_load to be configurable On Wed, 8 Jul 2015 15:58:19 +0100 Tim wrote: TC> Thanks for this. TC> TC> What is the procedure for requesting such an enhancement? The

Re: making the cache timeout for container_load to be configurable

2015-07-09 Thread Robert Story
On Wed, 8 Jul 2015 15:58:19 +0100 Tim wrote: TC> Thanks for this. TC> TC> What is the procedure for requesting such an enhancement? The best way is to submit a patch to out patch database. :-) The next best is to submit a feature-request. TC> Do you work on current net-snmp development? Yes, I

RE: making the cache timeout for container_load to be configurable

2015-07-08 Thread Tim Culhane
Culhane Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: making the cache timeout for container_load to be configurable On Wed, 8 Jul 2015 09:05:29 +0100 Tim wrote: TC> " TC> This really should be handled higher up, instead of each module TC> having to do it on it's own. A

Re: making the cache timeout for container_load to be configurable

2015-07-08 Thread Robert Story
On Wed, 8 Jul 2015 09:05:29 +0100 Tim wrote: TC> " TC> This really should be handled higher up, instead of each module having TC> to do it on it's own. And the nsCacheTable should probably store TC> configured valued in the persistent storage so values survive a restart. TC> " TC> TC> By this do y

RE: making the cache timeout for container_load to be configurable

2015-07-08 Thread Tim Culhane
: 08 July 2015 04:25 To: Tim Culhane Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: making the cache timeout for container_load to be configurable On Fri, 8 May 2015 14:53:18 +0100 Tim wrote: TC> I can manually update the cache timeout for a table uusing a snmp TC> get request as in:

Re: making the cache timeout for container_load to be configurable

2015-07-07 Thread Robert Story
On Fri, 8 May 2015 14:53:18 +0100 Tim wrote: TC> I can manually update the cache timeout for a table uusing a TC> snmp get request as in: TC> TC> snmpset -v 2c -c private 10.128.19.86 TC> nsCacheTimeout.1.3.6.1.4.1.1900.1.1.2 i 0 TC> TC> This sets the cache time out value for the oid listed above

RE: making the cache timeout for container_load to be configurable

2015-05-08 Thread Tim Culhane
Hi, Hoping somebody might be able to assist me with this. I can manually update the cache timeout for a table uusing a snmp get request as in: snmpset -v 2c -c private 10.128.19.86 nsCacheTimeout.1.3.6.1.4.1.1900.1.1.2 i 0 This sets the cache time out value for the oid listed above. However,