Thank you Robert,

I am trying to implement modules for external data. I am trying to map that external data to loop-context and data-context in table retrieval functions. This means I will ask agent to directly read/write data from the external location (actual location) if there is any get/set operation . I am using existing table_iterator module to implement this approach. Correct me if I misunderstood any thing.

Thank you,

-Ram

R> 3. I want to use current helper modules
R> to for table retrieval options. Is there any other simple option to
R> implement my own data structures.

Not sure I follow you here. are you trying to implement modules for external
data, or data kept in the agent?

---------------------------------------------------------------------------------------------------------


Robert Story (Coders) wrote:

On Sat, 13 Nov 2004 14:51:43 -0800 Ram wrote:
R> I am trying to reduce code size for my snmp-agent. After selecting the R> following configuration options my foot print size is about 700 KB.


There is a FAQ entry on this:

 http://www.net-snmp.org/FAQ.html#How_can_I_reduce_the_memory_footprint_

You've got a few, but there are some suggestions that my help.

Also, if you use 5.2, there is a new option to disable mib loading. Add
--disable-mib-loading to your configure options.

R> 1. How can I remove SNMPv3 related modules?

You can remove the modules by adding them to the --with-out-mib-modules
configure line. But the code in the libraries will remain.

R> 2. Are there any other modules that I can remove/modify to
R> further reduce the foot print size?

You can remove almost all of them, if you don't need them. The configure option
--enable-mini-agent does that for you, though it does leave in a few snmpv3
modules. Some of those are probably safe to remove, others may cause problems
if removed. Try taking them out one at a time.

R> 3. I want to use current helper modules
R> to for table retrieval options. Is there any other simple option to
R> implement my own data structures.

Not sure I follow you here. are you trying to implement modules for external
data, or data kept in the agent?

R> 4. How can I set default configuration options without using any of the
R> configuration files?

Some can be specified via configure (see the help output). Others can be
changed in the net-snmp-config.h header. Some can also be set via environment
variables. A few stragglers would require patching code.






------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to