I already looked through all of those options in the FAQ and I am already using
many of them as you can see in my "configure" command provided. I
was wondering if there was anything else which could be done at
all? The total size of the complete SNMP package is about 300K when
it is compressed and my company would really like the size to be reduced a bit
more if possible. Any other ideas on what could be done?
Also, I wanted to mention I used the "MFD" configure files with the mib2c tool
to generate my subagent files. Does using "MFD" increase the size
of the overall "master agent" significantly compared to me possibly using a
different type of config format? Basically, would there be a great
savings of space if I did not use MFD and went with another config type?
Thanks for your input.
--- On Mon, 6/2/08, Need Help <[EMAIL PROTECTED]> wrote:
From: Need Help <[EMAIL PROTECTED]>
Subject: Can the master agent size be reduced anymore?
To: "net-snmp Coders" <[email protected]>
Date: Monday, June 2, 2008, 12:41 PM
I installed Net-SNMP v5.4.1 to use the master agent and created a subagent to
process the MIB we need to support. Everything works fine, but I would
like to reduce the overall size. The current size of the library files
are as follows:
A)
libsnmp_client.so
167596
B) libsnmp_subagent.so
127136
C) libnetsnmpagent.so.15.1.0 216760
D) libnetsnmphelpers.so.15.1.0 143624
E) libnetsnmpmibs.so.15.1.0 244448
F)
libnetsnmp.so.15.1.0 519904
G) libnetsnmptrapd.so.15.1.0 0
I was hoping to be able to reduce the size of the C->F libraries a bit more.
I am using the following "configure" settings to reduce the size as much as I
can right now, but I was wondering if there is anything else I can do?
../configure \
--srcdir=$(ICE)/services/snmp/masteragent/netsnmp/net-snmp \
--with-install-prefix=$(ICE)/services/snmp/masteragent/netsnmp/net-snmp \
--prefix=/usr/local \
--with-logfile="/var/log/snmpd.log" \
--with-persistent-directory="/var/net-snmp" \
--with-default-snmp-version="2" \
--with-sys-contact="contact" \
--with-sys-location="location" \
--disable-embedded-perl
\
--without-perl-modules \
--host=$(CROSS_COMPILE)linux \
--with-cc=$(CC) \
--with-linkcc=$(CC) \
--with-cflags="-g -x c" \
--with-ldflags="-x none" \
--with-endianness=little \
--disable-applications \
--disable-manuals \
--disable-scripts \
--disable-mibs \
--disable-mib-loading \
--disable-debugging \
--without-openssl \
--disable-des \
--disable-privacy \
--disable-md5 \
--disable-static \
--disable-snmptrapd-subagent \
--enable-mini-agent \
--with-mib-modules="agentx host";
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders