Re: Doubts Regarding SNMP Table Index

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 19/07/07, Karthikeyan Ramasubramanian <[email protected]> wrote:
>         1) In the MIB file I have defined the syntax of the index as String SIZE(1..32).

That doesn't sound quite right.
Can you please post the exact MIB definitions of your table structure.



>          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.

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.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.