OK, first off, with my recent problems with netsnmpd.lrp, I need to roll
my own ;>
So, off I goto my slink development box and start compiling.
[1] For the life of me, I cannot figure out how the libraries grew 300%
between v4.2.1 and v4.2.3!
This is the current netsnmpd.lrp:
# ls -al `find /usr/lib -type f | grep 'snmp\|ucd'`
-rwxr-xr-x 1 root root 293868 Jul 16 2001
/usr/lib/libsnmp-0.4.2.1.so
-rwxr-xr-x 1 root root 48364 Jul 16 2001
/usr/lib/libucdagent-0.4.2.1.so
-rwxr-xr-x 1 root root 286852 Jul 16 2001
/usr/lib/libucdmibs-0.4.2.1.so
This is my current roll-your-own:
# ls -al `find /usr/lib -type f | grep 'snmp\|ucd'`
-rwxr-xr-x 1 root root 804790 Feb 7 22:09
/usr/lib/libsnmp-0.4.2.3.so
-rw-r--r-- 1 root root 1082086 Feb 7 22:09
/usr/lib/libsnmp.a
-rwxr-xr-x 1 root root 706 Feb 7 22:09
/usr/lib/libsnmp.la
-rwxr-xr-x 1 root root 180385 Feb 7 22:10
/usr/lib/libucdagent-0.4.2.3.so
-rw-r--r-- 1 root root 233854 Feb 7 22:10
/usr/lib/libucdagent.a
-rwxr-xr-x 1 root root 734 Feb 7 22:10
/usr/lib/libucdagent.la
-rwxr-xr-x 1 root root 979796 Feb 7 22:10
/usr/lib/libucdmibs-0.4.2.3.so
-rw-r--r-- 1 root root 1593630 Feb 7 22:10
/usr/lib/libucdmibs.a
-rwxr-xr-x 1 root root 727 Feb 7 22:10
/usr/lib/libucdmibs.la
I take it that I need *only* the *.so files; but, even so, look at the
size? Is there a `strip' for library files? Of course, I did this:
# ./configure --prefix=/usr --enable-shared
[2] I fiddled with configure, config.h and Makefile; but, I cannot get
snmpd to work with /etc/snmp/snmpd.conf, unless it is a symlink. So,
I've left it in the default ${prefix}/share/snmp.
[3] net-snmp is really three (3) different pieces:
snmp -- apps & tools to do everything snmp
snmpd -- facility to accept queries & send traps
snmptrapd -- facility to receive snmp traps
It seems to me that these ought to be kept in separate packages, albeit
dependent on installing the snmpd package. Although, it is common to
want to remotely manage a firewal/router, I find it doubtful that these
ought to receive/manage incoming traps; nor, may it be too common to
want to query other hosts from the firewall?
What do you think?
--
Best Regards,
mds
mds resource
888.250.3987
Dare to fix things before they break . . .
Our capacity for understanding is inversely proportional to how much we
think we know. The more I know, the more I know I don't know . . .
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel