This patch works very well:

[EMAIL PROTECTED]:/tmp# snmptable -v2c \
-Cl -Cf " - " -c test localhost diskIOTable

  ----

SNMP table: UCD-DISKIO-MIB::diskIOTable

diskIOIndex - diskIODevice - diskIONRead - diskIONWritten - diskIOReads - 
diskIOWrites - diskIOLA1 - diskIOLA5 - diskIOLA15 - diskIONReadX - 
diskIONWrittenX
1 - md0 - 0 - 0 - 0 - 0 - ? - ? - ? - ? - ?
2 - cd0 - 0 - 0 - 0 - 0 - ? - ? - ? - ? - ?
3 - wd0 - 11776 - 0 - 17 - 0 - ? - ? - ? - ? - ?
4 - sd0 - 11264 - 0 - 16 - 0 - ? - ? - ? - ? - ?
5 - sd1 - 410026496 - 1065267200 - 69600 - 98416 - ? - ? - ? - ? - ?
6 - sd2 - 10240 - 0 - 14 - 0 - ? - ? - ? - ? - ?
7 - wd1 - 11776 - 0 - 17 - 0 - ? - ? - ? - ? - ?

The unified diff of this can be found at:

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/net-snmp/patches/patch-ab.diff?r1=1.6&r2=1.7

I will try to work with the Upstream vendor to ensure that this gets fed 
back into their -rHEAD and pulled into the next stable release! (CC)

Thank you very much Christos!

~BAS

On Mon, 19 Jun 2006, Christos Zoulas wrote:

> The following reply was made to PR pkg/33755; it has been noted by GNATS.
>
> From: [EMAIL PROTECTED] (Christos Zoulas)
> To: "Brian A. Seklecki" <[EMAIL PROTECTED]>,
>       [EMAIL PROTECTED]
> Cc:
> Subject: Re: pkg/33755 (Kernel lacks a VFS/Disk IO Stats API for 
> pkgsrc/net/net-snmp mib module: ucd-snmp/diskio (snmptable diskIOTable))
> Date: Mon, 19 Jun 2006 09:48:11 -0400
>
> On Jun 19,  8:26am, [EMAIL PROTECTED] ("Brian A. Seklecki") wrote:
> -- Subject: Re: pkg/33755 (Kernel lacks a VFS/Disk IO Stats API for pkgsrc/ne
>
> | > I added code to net-snmp to do I/O stats for NetBSD
> |
> | To Net-SNMP -rHEAD or to pkgsrc? I watch thier commits (net-snmp-coders@,
> | net-snmp-patches@, net-snmp-coders@, [EMAIL PROTECTED]) and didn't
> | see anything.
>
> pkgsrc.
>
> christos
>
>

l8*
        -lava (Brian A. Seklecki - Pittsburgh, PA, USA)

"...back in the heady days when "Helpdesk" meant nothing, "diskquota"
meant everything, and lives could be bought and sold for a couple of pages
of laser printout - And frequently were."

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to