Implementing GETNEXT on MIB table
jayesh km <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All,
I am new to SNMP and I am trying to learn SNMP using implementing some sample MIB modules
Right now I am trying to implement a table with following columns
ID (string) Name(string) Age(string) where ID is the index of the table
I was successful in implementing GET and SET after refering testhandler.c example code at agent/mibgroup directory. I have no idea how to implement GETNEXT for the table.
I am storing the table in a C++ map with ID as key and a structure containing all the fields as value.
Can any one please suggest me how to go about implementing GETNEXT for the table. Is there any sample code which I can refer? I have not used iterator conf file for table handling because it is very inefficient for large tables.
Thanks in advance,
Jayesh KM
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
------------------------------------------------------------------------------
_______________________________________________
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