-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WMI physical disk current and average queue length graph
- Loading branch information
1 parent
1c519c4
commit 5c011dc
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...y/src/main/filtered/etc/snmp-graph.properties.d/wmi.physdisk.queuelength-graph.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |