Hi all,
I'm developing a nagios plugin to get some performance metrics from a NetApp Device using the SDK API. I would like to get the Disk Busy and Disk Latency values for each disk but I need some help with the counter values.
Does anybody know what is the arithmetic to get the following counter metrics using the API?:
NetApp-Controller01> stats show disk
...
disk:50000C90:00...000000:user_read_latency:0us
disk:50000C90:00...000000:user_write_latency:150.54us
disk:50000C90:00...000000::disk_busy:2%
Listing the counters with the API I can see the following ones that I suppose have something to do with the values showed on the CLI and their descriptions:
- For Read Latency:
Counter Name = user_read_latency Counter Value = XXXX
Counter Name = user_read_latency |
|
|
Base Counter = user_read_blocks |
|
Privilege_level = basic |
|
Unit = microsec |
|
Counter Name = user_read_blocks Counter Value = XXXX
Counter Name = user_read_blocks |
|
|
Base Counter = none |
|
Privilege_level = basic |
|
Unit = per_sec |
|
- For Write Latency:
Counter Name = user_write_latency Counter Value = XXXX
Counter Name = user_write_latency |
|
|
Base Counter = user_write_blocks |
|
Privilege_level = basic |
|
Unit = microsec |
|
Counter Name = user_write_blocks Counter Value = XXXX
Counter Name = user_write_blocks |
|
|
Base Counter = none |
|
Privilege_level = basic |
|
Unit = per_sec |
|
- For Disk Busy:
Counter Name = disk_busy Counter Value = XXXX
Counter Name = disk_busy |
|
|
Base Counter = base_for_disk_busy |
|
Privilege_level = basic |
|
Unit = percent |
|
Counter Name = base_for_disk_busy Counter Value = XXXX
Counter Name = base_for_disk_busy |
|
|
Base Counter = none |
|
Privilege_level = basic |
|
Unit = none |
|
Counter Name = io_pending Counter Value = XXXX
Counter Name = io_pending |
|
|
Base Counter = base_for_disk_busy |
|
Privilege_level = diag |
|
Unit = none |
|
Counter Name = io_queued Counter Value = XXXX
Counter Name = io_queued |
|
|
Base Counter = base_for_disk_busy |
|
Privilege_level = diag |
|
Unit = none |
|
Any help will be very appreciated!!
Kind Regards!