Re: Doubts Regarding SNMP Table Index
On 19/07/07, Karthikeyan Ramasubramanian <karthikmit2005@gmail.com> wrote:[color=blue]
> 1) In the MIB file I have defined the syntax of the index as String SIZE(1..32).[/color]
That doesn't sound quite right.
Can you please post the exact MIB definitions of your table structure.
[color=blue]
> 3) In netsnmp_table_iterator_helper_handler()
> funtion of table_iterator.c build_oid_noalloc() routine constructs the oid
> of the requested object in the format
> table_oid.colum_no.32.ascii_equivalent_of_index.[/color]
Hmmm... that doesn't sound right either.
How are you registering the table?
I.e. what are the contents of the 'init_xxx()' routine?
How are you reporting the index value for each row?
I.e. what are the contents of the 'get_{first,next}_data_point' routines?
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
[url]http://sourceforge.net/powerbar/db2/[/url]
_______________________________________________
Net-snmp-users mailing list
[email]Net-snmp-users@lists.sourceforge.net[/email]
Please see the following page to unsubscribe or change other options:
[url]https://lists.sourceforge.net/lists/listinfo/net-snmp-users[/url]