Find the answer to your Linux question:
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.
  1. #1
    Just 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?

  2. #2
    Just Joined!
    Join Date
    Aug 2012
    Posts
    1
    Quote Originally Posted by monishakoirala View Post
    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?
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •