Menu

#119 5.3.0.1 diskIO mib doesn't expose all variables on linux

open
nobody
None
4
2012-11-08
2006-03-01
paul beard
No

I am looking to monitor disk usage (load average per spindle) using the
diskIOLA values. I get these to work in FreeBSD just fine, but linux doesn't
seem to expose them to snmp. The diskio mib is configured in

net-snmp-config --configure-options
'--with-mib-modules=host disman/event-mib ucd-snmp/diskio' '--
with-default-snmp-version=2'

snmpget localhost 1.3.6.1.4.1.2021.13.15.1.1.9.1
UCD-DISKIO-MIB::diskIOLA1.1 = No Such Instance currently exists at this
OID

on a FreeBSD host, it works as expected.
snmpget [host] 1.3.6.1.4.1.2021.13.15.1.1.11.1
1.3.6.1.4.1.2021.13.15.1.1.10.1 1.3.6.1.4.1.2021.13.15.1.1.9.1
UCD-DISKIO-MIB::diskIOLA15.1 = INTEGER: 3
UCD-DISKIO-MIB::diskIOLA5.1 = INTEGER: 2
UCD-DISKIO-MIB::diskIOLA1.1 = INTEGER: 0

is this something that can be made to work in Linux?

Discussion

  • Thomas Anders

    Thomas Anders - 2006-03-01

    Logged In: YES
    user_id=848638

    What version of our software are you using?

    What platform are you on? (i.e. what does 'uname -a' report?)

     
  • paul beard

    paul beard - 2006-03-01

    Logged In: YES
    user_id=201298

    Sorry, I meant to include that:

    Linux xxx.xxx.xxx 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:02 EDT 2005
    x86_64 x86_64 x86_64 GNU/Linux

    SNMP Version: 5.3.0.1

     
  • paul beard

    paul beard - 2006-03-01

    Logged In: YES
    user_id=201298

    Sorry, I meant to include that:

    Linux xxx.xxx.xxx 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:02 EDT 2005
    x86_64 x86_64 x86_64 GNU/Linux

    SNMP Version: 5.3.0.1

     
  • Thomas Anders

    Thomas Anders - 2006-03-01

    Logged In: YES
    user_id=848638

    If you find a way to get this kind of information from Linux
    via /proc or similar mechanisms, we'll see whether/how we
    can improve the ucd-snmp/diskio code.

    However, please note that this mib module is optional and
    doesn't have as much attention as the core modules. Patches
    most welcome! :-)

     
  • Thomas Anders

    Thomas Anders - 2006-05-28

    Logged In: YES
    user_id=848638

    moved to "feature requests".

     
  • Scott Brumbaugh

    Scott Brumbaugh - 2007-09-17

    Logged In: YES
    user_id=1129159
    Originator: NO

    Added a patch '1779558 Disk io load average on linux' provide these variables on linux. We have been using if for a couple months on CentOS 4.4. The implementation is similar to FreeBSD.

     

Log in to post a comment.