Re: How to implemet table

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 21/02/2008, Vishal N <[email protected]> wrote:
> I want to implement tables in the agent. Can any one tell me which config
> file I should use to generate code using mib2c?

Please see the FAQ entry
    Which mib2c configuration file should I use?
        http://www.net-snmp.org/wiki/index.php/FAQ:Coding_08

the "mib2c General Overview" tutorial page
    http://www.net-snmp.org/wiki/index.php/TUT:mib2c_General_Overview

or run "mib2c" without specifying a config file, and answer
the prompts that it will give you.


> is it mib2c.table.conf or mib2c.array_user.conf?

Neither of these config templates exist.
See the directory 'local' for the choices open to you.

Personally, I tend to work with the 'mib2c.table_data.conf'
template (which uses the tdata helper).   I know Robert prefers
the 'mib2c.mfd.conf' template, which uses a completely different
framework.
   But either of these (or any of the others) should provide
a reasonable starting point.  There's no One Right Answer.


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.