I have 2 disks and want to get write / read MB/s for either of them.
In perfmon I have 4 entries: Index=-1, 0 or 1 do return data. 2 and more returns nothing.
As I understand, -1 is avg, 0 is total.
Then it gets confusing for me. the documentation says:
- Index=1 would return the current value and name of the instance with the highest value for that counter.
Further down it says:
- Index=1, Index=2 etc. This will return the value of the instance in that position in the sorted list, and the name of the corresponding instance as the string value.
It seems to do the former, i think index=1 returns the highest value.
So where I'm stuck:
How do I get values for my 2 disks?
This is my measure and meter:
Code: Select all
[mSSDRead]
Measure=Plugin
Plugin=UsageMonitor
Category=PhysicalDisk
Counter=Disk Read Bytes/sec
Index=0
DynamicVariables=1
[mSSDRdSc]
Measure=Calc
Formula=mSSDRead/1000000
MinValue=0
MaxValue=2500
[MtSSDText]
Meter=string
MeasureName=mSSDRdSc
MeasureName2=mSSDWrSc
Text=%1 / %2
FontFace=SF Digital Readout
FontColor=255,150, 50
FontSize=12
StringAlign=Center
X=98
Y=44
DynamicVariables=1