-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/foundation-2022' into foundation…
…-2023
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
.../src/main/filtered/etc/snmp-graph.properties.d/wsman-microsoft-windows-virtmem.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,32 @@ | ||
############################################################################## | ||
## | ||
## Please add report definition in a new line to make it easier | ||
## for script based sanity checks | ||
## | ||
################################################## | ||
|
||
reports=microsoft.windows.virtmem1 | ||
|
||
report.microsoft.windows.virtmem1.name=Virtual Memory | ||
report.microsoft.windows.virtmem1.columns=freeVirtMem,totalVirtMem | ||
report.microsoft.windows.virtmem1.type=nodeSnmp | ||
report.microsoft.windows.virtmem1.suppress=microsoft.windows.virtmem | ||
report.microsoft.windows.virtmem1.command=--title="Virtual Memory Usage (WinRM)" \ | ||
--vertical-label="Memory" \ | ||
DEF:freekBytes={rrd1}:freeVirtMem:AVERAGE \ | ||
DEF:totalkBytes={rrd2}:totalVirtMem:AVERAGE \ | ||
CDEF:freeBytes=freekBytes,1024,* \ | ||
CDEF:totalBytes=totalkBytes,1024,* \ | ||
CDEF:usedBytes=totalBytes,freeBytes,- \ | ||
AREA:usedBytes#ff0000:"Used" \ | ||
GPRINT:usedBytes:AVERAGE:"Avg \\: %10.2lf %s" \ | ||
GPRINT:usedBytes:MIN:"Min \\: %10.2lf %s" \ | ||
GPRINT:usedBytes:MAX:"Max \\: %10.2lf %s\\n" \ | ||
STACK:freeBytes#0cff00:"Free" \ | ||
GPRINT:freeBytes:AVERAGE:"Avg \\: %10.2lf %s" \ | ||
GPRINT:freeBytes:MIN:"Min \\: %10.2lf %s" \ | ||
GPRINT:freeBytes:MAX:"Max \\: %10.2lf %s\\n" \ | ||
LINE2:totalBytes#0000ff:"Total" \ | ||
GPRINT:totalBytes:AVERAGE:"Avg \\: %10.2lf %s" \ | ||
GPRINT:totalBytes:MIN:"Min \\: %10.2lf %s" \ | ||
GPRINT:totalBytes:MAX:"Max \\: %10.2lf %s\\n" |