Results 1 to 2 of 2
Hi, I tried to get disk statistic on my Gentoo box: # snmpget -v 1 -c public localhost diskIOTable Error in packet Reason: (noSuchName) There is no such variable name ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-09-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 5
Addition of "ucd-snmp/diskio" module to Net-SNMP
Hi, I tried to get disk statistic on my Gentoo box: # snmpget -v 1 -c public localhost diskIOTable Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: UCD-DISKIO-MIB::diskIOTable The addition of the “diskio” module is very useful. How can I add it to net-snmp?
- 08-03-2012 #2Just Joined!
- Join Date
- Aug 2012
- Posts
- 1
echo "net-analyzer/net-snmp diskio" >> /etc/portage/package.use/local
or wherever you manage your use packages. Sometimes it's a file called package.use sometimes it's a list of packages defined under a directory package.use
Then run
emerge -uavN net-snmp
Lookup the paramters but it's verbose, use ask and New.
Then I had is compiled properly:
run:
net-snmp-config --configure-options
and you should have:
'--with-mib-modules=host ucd-snmp/dlmod ucd-snmp/diskio'
or something similar but most importantly WITH ucd-snmp/diskio




