FS#4180 - Add more useful MIB support to net-snmp

Attached to Project: Arch Linux
Opened by Alec Thomas (alecthomas) - Thursday, 16 March 2006, 23:58 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 17 May 2008, 01:57 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan de Groot (JGC)
Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It would be nice to have support for some of the more useful MIBs compiled in to net-snmp:

--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod ucd-snmp/lmSensors"

I've been using a custom package with just these options for several months now, with no issues.
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 17 May 2008, 01:57 GMT
Reason for closing:  Implemented
Comment by eliott (cactus) - Sunday, 07 January 2007, 23:47 GMT
The 'host' MIB, *at least*, should be included.
That one is VERY useful.
Comment by eliott (cactus) - Wednesday, 08 August 2007, 05:24 GMT
Been quite a while on this ticket.
Anyone have a status update?

Is this a "won't fix", or has the ticket just gone by the wayside?
Comment by Eric Belanger (Snowman) - Sunday, 16 December 2007, 04:15 GMT
I adopted net-snmp a while ago and I'll look into it. I'll surely add the host MIB and probably the other ones as well if they don't add dependencies to net-snmp.
Comment by Eric Belanger (Snowman) - Thursday, 24 January 2008, 02:45 GMT
The net-snmp 5.4.1-3 package in testing (built against perl 5.10.0) has the
--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod"
modules built in. I didn't built ucd-snmp/lmSensors because it doesn't build with lm_sensors 3.0.0 (the API has changed). Once it's fixed upstream, I'll add it.
Comment by Eric Belanger (Snowman) - Thursday, 03 April 2008, 19:00 GMT
I found a Fedora patch to make net-snmp to build with lm_sensors 3.0 but I'll need to add a lm_sensors dependency if I build the lmSensors mib. I don't use this package so I can't tell how useful the lmSensors mib is. Any comments?
Comment by eliott (cactus) - Saturday, 05 April 2008, 04:50 GMT
I dunno.
It would be nice to not add more dependencies, not to mention the additional patch required.
I say stay without it for now.
People can always rebuild from ABS if they need lmsensors.
Comment by Eric Belanger (Snowman) - Saturday, 05 April 2008, 05:24 GMT
I was thinking the same thing. I'll keep the bug ticket open for further comments.

For those who are interested, the patch is here:
http://cvs.fedoraproject.org/viewcvs/devel/net-snmp/net-snmp-5.4.1-sensors3.patch?rev=1.1
and to enable lmsensors support, configure with: --with-mib-modules="ucd-snmp/lmsensorsMib" --with-ldflags="-lsensors"

FYI, a user emailed me about adding libwrap support. It adds a depends on tcp_wrappers but that's a base package and the openssh package is built with libwrap support. This is something I'm willing to do.
Comment by eliott (cactus) - Saturday, 05 April 2008, 06:10 GMT
Sounds reasonable.

Loading...