RE: Table index problem

2005-02-08 Thread Robillard, Greg L
e row_add_index insertion. Could this be the problem. -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 5:45 PM To: Robillard, Greg L Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Table index problem On Wed, 02 Feb 2005 11:33:52 -060

Re: Table index problem

2005-02-07 Thread Robert Story
On Wed, 2 Feb 2005 21:55:02 -0600 Greg wrote: GLR> Ok, I understand why it is showing a 0 for the first entry and am handling GLR> this ok, but as the walk continues through the table, it extracts index 1, GLR> the first entry, handles it, repeats returning once again index 1. Then GLR> it moves t

Re: Table index problem

2005-02-07 Thread Robert Story
On Wed, 02 Feb 2005 11:33:52 -0600 Greg wrote: GLR> Thanks for the information. When I execute my get statements, I am GLR> returning the values that I am expecting. I would additionally like the GLR> snmpwalks to return the identical information which it is not. Ahh, thanks for the example. N

Re: Table index problem

2005-02-02 Thread Greg L Robillard
Robert, Thanks for the information. When I execute my get statements, I am returning the values that I am expecting. I would additionally like the snmpwalks to return the identical information which it is not. As you stated, I was not using the indexing as it was intended, but I still don't

Re: Table index problem

2005-02-02 Thread Greg L Robillard
Ok, I understand why it is showing a 0 for the first entry and am handling this ok, but as the walk continues through the table, it extracts index 1, the first entry, handles it, repeats returning once again index 1. Then it moves through the table correctly, grabbing the right row and column.

Re: Table index problem

2005-02-02 Thread Robert Story
On Wed, 02 Feb 2005 08:01:55 -0600 Greg wrote: GLR> I loop through the table GLR> for (request = requests; request; request=request->next) GLR> { .. GLR> table_info = netsnmp_extract_table_info(request) GLR> index= *(table_info->indexex->val.integer); GLR> } This doesn't loop through the t

Re: Table index problem

2005-02-02 Thread Greg L Robillard
Robert, Thanks for this info on the index 0. That solves one of my issues of trying to correctly extract information from my table. The other issue is this: I loop through the table for (request = requests; request; request=request->next) { .. table_info = netsnmp_extract_table_info(reques

Re: Table index problem

2005-02-01 Thread Robert Story
On Tue, 01 Feb 2005 17:12:43 -0600 Greg wrote: GLR> When I am executing a table index: GLR> GLR> table_info = netsnmp_extract_table_info(request); GLR> index = *(table_info->indexes->val.integer); GLR> GLR> The initial index value that is always returned is always 0. When the GLR> tables are in