Skip to content

Commit

Permalink
Add WMI physical disk current and average queue length graph
Browse files Browse the repository at this point in the history
  • Loading branch information
TimMillerDyck authored and indigo423 committed Dec 14, 2014
1 parent 1c519c4 commit 5c011dc
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
reports=wmi.physdisk.queuelength

######
###### Reports for Windows physical disk queue lengths
######

# add a graph to show statistics about physical disk queue lengths
report.wmi.physdisk.queuelength.name=Physical Disk Queue Lengths (WMI)
report.wmi.physdisk.queuelength.columns=wmiPDQueueLen,wmiPDAvgQueueLen
report.wmi.physdisk.queuelength.propertiesValues=wmiPDName
report.wmi.physdisk.queuelength.type=wmiPhysicalDisk
report.wmi.physdisk.queuelength.command=--title="Physical Disk {wmiPDName} Queue Lengths (WMI)" \
--vertical-label="Num Requests in Queue" \
--lower-limit 0 \
--units-exponent 0 \
DEF:currqueue={rrd1}:wmiPDQueueLen:AVERAGE \
DEF:mincurrqueue={rrd1}:wmiPDQueueLen:MIN \
DEF:maxcurrqueue={rrd1}:wmiPDQueueLen:MAX \
DEF:avgqueue={rrd2}:wmiPDAvgQueueLen:AVERAGE \
DEF:minavgqueue={rrd2}:wmiPDAvgQueueLen:MIN \
DEF:maxavgqueue={rrd2}:wmiPDAvgQueueLen:MAX \
LINE2:currqueue#00ff00:"Current " \
GPRINT:currqueue:AVERAGE:"Avg \\: %10.2lf" \
GPRINT:mincurrqueue:MIN:"Min \\: %10.2lf" \
GPRINT:maxcurrqueue:MAX:"Max \\: %10.2lf\\n" \
LINE2:avgqueue#0000ff:"Average " \
GPRINT:avgqueue:AVERAGE:"Avg \\: %10.2lf" \
GPRINT:minavgqueue:MIN:"Min \\: %10.2lf" \
GPRINT:maxavgqueue:MAX:"Max \\: %10.2lf\\n"

0 comments on commit 5c011dc

Please sign in to comment.