Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106053 - net-snmp doesn't install ucd-snmp/diskio
Summary: net-snmp doesn't install ucd-snmp/diskio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 05:34 UTC by Tomoyuki Sakurai (RETIRED)
Modified: 2005-11-26 16:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoyuki Sakurai (RETIRED) gentoo-dev 2005-09-15 05:34:44 UTC
net-snmp doesn't install ucd-snmp/diskio which is useful for most cases.
solution:
mibs="host ucd-snmp/dlmod ucd-snmp/diskio"

BTW, mibII/tcpTable is also a nice mib module
Comment 1 Phattanon Duangdara 2005-10-10 09:30:15 UTC
Useful and not need additional patches.
please add local 'diskio' to use flags ... (works great for cacti :-)

--- net-snmp-5.2.1.2-r1.orig.ebuild     2005-10-10 23:30:38.000000000 +0700
+++ net-snmp-5.2.1.2-r1.ebuild  2005-10-10 22:48:50.000000000 +0700
@@ -11,7 +11,7 @@
 LICENSE="as-is BSD"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86"
-IUSE="perl ipv6 ssl tcpd X lm_sensors minimal smux selinux doc rpm elf"
+IUSE="perl ipv6 ssl tcpd X lm_sensors minimal smux selinux doc rpm elf diskio"

 DEPEND=">=sys-libs/zlib-1.1.4
        !minimal? ( <sys-libs/db-2 )
@@ -80,6 +80,7 @@
        mibs="host ucd-snmp/dlmod"
        use smux && mibs="${mibs} smux"
        use lm_sensors && mibs="${mibs} ucd-snmp/lmSensors"
+       use diskio && mibs="${mibs} ucd-snmp/diskio"

        econf \
                --with-install-prefix="${D}" \
Comment 2 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-11-26 05:42:00 UTC
this is in cvs but only in the 5.3.x snapshots. You will have to add
"net-analyzer/net-snmp" to /etc/portage/package.unmask and then emerge to test.

thanks for reporting.
Comment 3 Tomoyuki Sakurai (RETIRED) gentoo-dev 2005-11-26 16:26:47 UTC
confirmed it worked.
thanks!