Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NMS-16953: Correct the WinRM Virtual Memory graph #7521

Merged
merged 4 commits into from
Dec 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.virtmemfix
dino2gnt marked this conversation as resolved.
Show resolved Hide resolved

report.microsoft.windows.virtmemfix.name=Virtual Memory
report.microsoft.windows.virtmemfix.columns=freeVirtMem,totalVirtMem
report.microsoft.windows.virtmemfix.type=nodeSnmp
report.microsoft.windows.virtmemfix.suppress=microsoft.windows.virtmem
report.microsoft.windows.virtmemfix.command=--title="Virtual Memory Usage (WinRM)" \
--vertical-label="Memory" \
DEF:freekBytes={rrd1}:freeVirtMem:AVERAGE \
DEF:totalkBytes={rrd2}:totalVirtMem:AVERAGE \
CDEF:freeBytes=freeBytes,1024,* \
dino2gnt marked this conversation as resolved.
Show resolved Hide resolved
CDEF:totalBytes=totalBytes,1024,* \
dino2gnt marked this conversation as resolved.
Show resolved Hide resolved
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"
Loading