array_user.conf row creation

2005-04-21 Thread George, Geo
Hi, I am using mib2c.array_user.conf  (Net Snmp version 5.0.9) for implementing a private MIB. When my agent starts up, I need to read information from external data source (driver IOCTL, API etc) and populate the information to table rows.( It could be around 50 – 100 rows once it is init

Re: array_user.conf row creation

2005-04-21 Thread Robert Story
On Thu, 21 Apr 2005 13:20:30 -0700 George, wrote: GG> Does the current array_user code handles this ?(version 5.0.9) row GG> creation during startup ? If so can anyone tell some example? Yes. simply add them in the init function. Examples here: http://www.freesnmp.com/net-snmp/faqs/array

Re: array_user.conf row creation

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 08:06:16 -0700 George, wrote: GG> Can you please provide some information regarding addition of caching to GG> this? There are two ways to do this. One is to completely flush the cache each time, and reload it from scratch. The other is to search the cache for exiting rows to u

RE: array_user.conf row creation

2005-04-22 Thread George, Geo
->val1 = 100; Creation of row <> Waiting for you reply... Regards, Geo -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 10:21 AM To: George, Geo Cc: net-snmp-users@lists.sourceforge.net Subject: Re: array_user.conf row creation On

RE: array_user.conf row creation

2005-04-22 Thread George, Geo
Thanks Robert. Actually that problem is resolved. I was not allocating memory properly. -Original Message- From: George, Geo Sent: Friday, April 22, 2005 4:09 PM To: 'net-snmp-users@lists.sourceforge.net' Subject: RE: array_user.conf row creation Thanks Robert. I have impl

RE: array_user.conf row creation

2005-04-22 Thread George, Geo
Subject: Re: array_user.conf row creation On Thu, 21 Apr 2005 13:20:30 -0700 George, wrote: GG> Does the current array_user code handles this ?(version 5.0.9) row GG> creation during startup ? If so can anyone tell some example? Yes. simply add them in the init function. Examples here: