Re: pkg/33755 (Kernel lacks a VFS/Disk IO Stats API for pkgsrc/net/net-snmp mib module: ucd-snmp/diskio (snmptable diskIOTable))

"Brian A. Seklecki" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs,gmane.network.net-snmp.user
Message-ID <[email protected]>
This patch works very well:

seklecki@thunderwing:/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."
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.