Bluehost.com Web Hosting $6.95

building minimal agent

This is a discussion on building minimal agent within the SNMP Users forums, part of the Networking and Network Related category; .... I didn't found the answer in the maillist archive or in the documentation. I'm trying to build minimal ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-12-2005
Peter V. Saveliev
 
Posts: n/a
Default building minimal agent

....

I didn't found the answer in the maillist archive or in the documentation.

I'm trying to build minimal agent, that will only monitor cpu/memory and
interfaces usage. The size of the built package is critical, so, I'd prefer
to not include deps like librpm etc.

Used configure parameters:

../configure --with-out-mib-modules="host/hr_swinst" --without-rpm
--without-libwrap --without-openssl --enable-mini-agent
--disable-applications --disable-manuals --disable-scripts
--without-kmem-usage --with-out-transports="TCP"
--with-default-snmp-version=3 --with-sys-contact="fixme"
--with-sys-location="fixme" --with-logfile=/var/log/snmpd.log
--with-persistent-directory="/var/lib/net-snmp" --prefix=/usr
--sysconfdir=/etc

Make & make install:

make && make install INSTALL_PREFIX=/home/peet/bala

And results:

[peet@acer net-snmp-5.2.1]$ ldd /home/peet/bala/usr/sbin/snmpd
libnetsnmpmibs.so.5 => /usr/lib/libnetsnmpmibs.so.5 (0x00128000)
libnetsnmpagent.so.5 => /usr/lib/libnetsnmpagent.so.5 (0x0020f000)
libnetsnmphelpers.so.5 => /usr/lib/libnetsnmphelpers.so.5 (0x00244000)
libnetsnmp.so.5 => /usr/lib/libnetsnmp.so.5 (0x0025d000)
libdl.so.2 => /lib/libdl.so.2 (0x002fb000)
libm.so.6 => /lib/libm.so.6 (0x002ff000)
libc.so.6 => /lib/libc.so.6 (0x00322000)
libwrap.so.0 => /lib/libwrap.so.0 (0x00435000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x0043d000)
librpm-4.0.4.so => /usr/lib/librpm-4.0.4.so (0x00537000)
librpmio-4.0.4.so => /usr/lib/librpmio-4.0.4.so (0x0057b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libnsl.so.1 => /lib/libnsl.so.1 (0x0059d000)
librpmdb-4.0.4.so => /usr/lib/librpmdb-4.0.4.so (0x005b2000)
libpopt.so.0 => /lib/libpopt.so.0 (0x005c6000)
libbeecrypt.so.2 => /usr/lib/libbeecrypt.so.2 (0x005ce000)
libbz2.so.1 => /lib/libbz2.so.1 (0x005e7000)
libz.so.1 => /lib/libz.so.1 (0x005f9000)
libdb-4.3.so => /lib/libdb-4.3.so (0x0060c000)
librt.so.1 => /lib/librt.so.1 (0x006f1000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00703000)

Is there any way to _really_ configure net-snmp to _not_ use:

libwrap.so.0 => /lib/libwrap.so.0 (0x00435000)
librpm-4.0.4.so => /usr/lib/librpm-4.0.4.so (0x00537000)
librpmio-4.0.4.so => /usr/lib/librpmio-4.0.4.so (0x0057b000)
librpmdb-4.0.4.so => /usr/lib/librpmdb-4.0.4.so (0x005b2000)
libdb-4.3.so => /lib/libdb-4.3.so (0x0060c000)

It is very important, 'cause I have no extra disk space on the target system,
it is a little embedded busybox-based Linux. Thanks for help and sorry my
English.

--
Peter V. Saveliev


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0