Hello,

I need to implement my own MIB containing some scalars and  some simple
tables.

Using "mib2c" I created the software skeleton and wrote the C code to
set and get both integer and string scalar variables, and it does work.

However, I have some problems in using the software skeleton for the
tables. I did not find any example code to manage tables in read-write
mode. So I tried all "mib2c" configuration files to create the software
skeleton but I do not know to do next. I thought it was simpler but I
could not understand how to write the code to manage rows and data.

I "only" need to use a table that does not reside in the agent but is
stored in a file, I have to add, delete and modify rows.

Do you have any suggestion or some example code to send me?

Which is the most suitable configuration file to use? I read about "mfd"
but a very long list of headers and c files are generated and I do not
know how to begin.

 

Thanks in advance.

Regards

 

Daniela

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to