Re: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-10-07 Thread Robert Story
On Mon, 03 Oct 2005 09:48:04 +0100 Dave wrote: DS> > This is exactly what the row_merge helper is for. It will call the table DS> > handler once for each index, instead of once per varbind. DS> DS> Errr... no - that's not true. (Sorry, Robert!) D'oh! I was thinking of the original iterator cod

Re: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-10-03 Thread Dave Shield
On Fri, 2005-09-30 at 15:48 -0400, Robert Story wrote: > DS> This [interpreting indexes] > DS> is done for each varbind separately (since a single request may > DS> well refer to several different rows). That's the purpose of the loop > DS> through the 'requests' parameter - each entry in this li

Re: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-10-02 Thread Robert Story
On Fri, 30 Sep 2005 10:00:11 +0100 Dave wrote: DS> > I suspect that I have to look to the variable bindings to extract the DS> > tables indexes. DS> DS> No. DS> These indexes will already have been extracted by the 'table' helper. DS> You can use 'netsnmp_extract_table_info()' to retrieve the re

RE: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-09-30 Thread Dave Shield
On Thu, 2005-09-29 at 14:54 -0400, sasson, shuki wrote: > You suggest I will change the following call: > netsnmp_extract_table_row_data(request); > > With a call to the external DB to retrieve the information. So this > means that the indexes for that call should be retrieved from request Correc

RE: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-09-29 Thread sasson, shuki
Hi David, I am looking seriously at this possibility. I still have some questions: You suggest I will change the following call: netsnmp_extract_table_row_data(request); With a call to the external DB to retrieve the information. So this means that the indexes for that call should be retrieved fr