I've just finished a set of templates and a script to return extended iostat statistics over SNMP. It reports on the full set of statistics produced by iostat, namely :
rrqm/s
The number of read requests merged per second that were queued to the device.
wrqm/s
The number of write requests merged per second that were queued to the device.
r/s
The number of read requests that were issued to the device per second.
w/s
The number of write requests that were issued to the device per second.
rsec/s
The number of sectors read from the device per second.
wsec/s
The number of sectors written to the device per second.
rkB/s
The number of kilobytes read from the device per second.
wkB/s
The number of kilobytes written to the device per second.
rMB/s
The number of megabytes read from the device per second.
wMB/s
The number of megabytes written to the device per second.
avgrq-sz
The average size (in sectors) of the requests that were issued to the device.
avgqu-sz
The average queue length of the requests that were issued to the device.
await
The average time (in milliseconds) for I/O requests issued to the device to be served. This includes the time spent by the requests in queue and the time spent servicing them.
svctm
The average service time (in milliseconds) for I/O requests that were issued to the device.
%util
Percentage of CPU time during which I/O requests were issued to the device (bandwidth utilization for the device). Device saturation occurs when this value is close to 100%.
Full instructions are included as a README in the attached archive - you just have to set up a cron job to gather the statistics on the target server, and extend the snmp.conf with my "iostat.pl" script.
The archive is attached below, and I'll post some sample graphs in a follow up. Hope someone finds this useful!
-Mark
Update : The package now supports Solaris, thanks to the work of Marwan Shaher and Eric Schoeller. You can grab the updated package below, or from my blog : http://www.markround.com/archives/54-Up ... laris.html