Re: Compiling net-snmp with ucd/snmp-diskio on RHEL 4

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26/10/06, [email protected] <[email protected]> wrote:
> I am having a problem getting net-snmp to provide load average values using
> ucd-snmp-diskio on Red Hat EL4.


> The make, make test and install process had no errors.  Snmpd starts up
> fine, and I get can values for all the diskIOTable columns except for 9, 10,
> and 11--the load average values.

These objects are not implemented under Linux.
See the file 'agent/mibgroup/ucd-snmp/diskio.c' - the block of code within
#ifdef linux/#endif - the routine 'var_diskio'  (Probably starting
around line 781)

This contains entries for:
    case DISKIO_INDEX:
    case DISKIO_DEVICE:
    case DISKIO_NREAD:
    case DISKIO_NWRITTEN:
    case DISKIO_READS:
    case DISKIO_WRITES:
    case DISKIO_NREADX:

These are the only columns that are implemented under Linux,
and hence the only values that can be retrieved.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.