Hello all,

I am trying to reduce code size for my snmp-agent. After selecting the following configuration options my foot print size is about 700 KB.

--with-cflags="-Dlinux -DEMBED" --with-out-mib-modules="agentx snmpv3 snmpv3mibs ucd_snmp notification" --disable-debugging --disable-privacy --with-default-snmp-version="2" --enable-mini-agent
--disable-static
--disable-shared-version
--disable-scripts
--disable-manuals
--without-kmem-usage
--with-zlib
--with-mibs="IP_MIB:IF-MIB:TCP-MIB:UDP-MIB:MY-MIB1:MY-MIB2:MY-MIB3"
With this configuration options I also added 3 enterprise mibs apart from default mibs (IP, IF, TCP, UDP, SNMPv2-SMI, SNMPv2-MIB).
I am trying to reduce my agent foot print to be less than 400 KB. It would be great if anyone can help me to solve the following issues.


1. How can I remove SNMPv3 related modules? ( I do not need to use SNMPv3 right 
now)
2. Are there any other modules that I can remove/modify to further reduce the 
foot print size?
3. I want to use current helper modules to for table retrieval options. Is 
there any other simple option to implement
my own data structures.
4. How can I set default configuration options without using any of the 
configuration files?

Thanks in advance

-Ram












------------------------------------------------------- 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