Re: diskIOLA and friends.

2012-07-05 Thread Niels Baggesen
Den 05-07-2012 20:36, Bruce Shaw skrev: > I'm assuming you mean diskio.c in agent/mibgroup/ucd-snmp. > > # find . -type f -exec grep -l "devla_getstats" {} + > ./agent/mibgroup/ucd-snmp/diskio.c > > As far as I can tell, it gets its values for Solaris using kstat, which > returns... > > # kstat -c

Re: diskIOLA and friends.

2012-07-05 Thread Bruce Shaw
I'm assuming you mean diskio.c in agent/mibgroup/ucd-snmp. # find . -type f -exec grep -l "devla_getstats" {} + ./agent/mibgroup/ucd-snmp/diskio.c As far as I can tell, it gets its values for Solaris using kstat, which returns... # kstat -c disk | more module: md ins

Re: diskIOLA and friends.

2012-07-05 Thread Niels Baggesen
On Wed, Jul 04, 2012 at 04:26:51PM -0600, Bruce Shaw wrote: > Are we supposed to be reporting diskIOLA1/5/10 correctly? If not, what > would it take? Have a look at the devla_getstats functions in hr_diskio.c. They generate the data. There are implementatios for FreeBSD and Linux. /Niels -- Ni

diskIOLA and friends.

2012-07-04 Thread Bruce Shaw
On Solaris 11 ./snmptable -v 2c -c redacted localhost diskIOTable SNMP table: UCD-DISKIO-MIB::diskIOTable diskIOIndex diskIODevice diskIONRead diskIONWritten diskIOReads diskIOWrites diskIOLA1 diskIOLA5 diskIOLA15 diskIONReadX diskIONWrittenX 1 sd0 1307870168 2005064192