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"

Add WMI physical disk current and average queue length graph
Add WMI physical disk current and average queue length graph
