RE: tablesnmpwalk on table not working via subagent - need help please

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC08632BC6@mailserver.metatv-ds.metatv.com>
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Joan Landry
> Sent: Tuesday, April 22, 2008 6:16 AM

> The documentation indicates that the following is obsolete:
> table_dataset - Helps you implement a table with automatted storage.
> This helper is obsolete. If you are writing a new module, 
> please consider using the table_dataset2 helper instead.
> 
> I have found no information about table_dataset2 helper. Does 
> this exist?

	I suspect that it is this:

http://www.net-snmp.org/dev/agent/group__tdata.html

> Can anyone clarify for me which code in net-snmp works for 
> the purpose of implementing a table.

	I hope so.  Questions like these may take some research and opportunity, so a better may be in the works as you read this, I don't know.

	Are you sure this is the approach you want to take?  The table_dataset/group_tdata functions are for "datamatted" [sic] tables - those for which you store the data and forget.  I don't see any functions to build the rows, either.  I suggest taking a look here:

http://www.net-snmp.org/dev/agent/group__table__generic.html

	...for what appears to be a more generic and complete set of functions.


	HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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.