Skip to content

Commit

Permalink
NMS-16953: Also fix the WinRM Virtual Memory in develop
Browse files Browse the repository at this point in the history
  • Loading branch information
dino2gnt committed Dec 4, 2024
1 parent 54ae698 commit 70b45d5
Showing 1 changed file with 18 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,21 @@ report.microsoft.windows.virtmem.name=Virtual Memory
report.microsoft.windows.virtmem.columns=freeVirtMem,totalVirtMem
report.microsoft.windows.virtmem.type=nodeSnmp
report.microsoft.windows.virtmem.command=--title="Virtual Memory Usage" \
--vertical-label="Memory" \
DEF:freeBytes={rrd1}:freeVirtMem:AVERAGE \
DEF:totalBytes={rrd2}:totalVirtMem:AVERAGE \
CDEF:freeBits=freeBytes,8,* \
CDEF:totalBits=totalBytes,8,* \
CDEF:usedBits=totalBits,freeBits,- \
AREA:usedBits#ff0000:"Used" \
GPRINT:usedBits:AVERAGE:"Avg \\: %10.2lf %s" \
GPRINT:usedBits:MIN:"Min \\: %10.2lf %s" \
GPRINT:usedBits:MAX:"Max \\: %10.2lf %s\\n" \
STACK:freeBits#0cff00:"Free" \
GPRINT:freeBits:AVERAGE:"Avg \\: %10.2lf %s" \
GPRINT:freeBits:MIN:"Min \\: %10.2lf %s" \
GPRINT:freeBits:MAX:"Max \\: %10.2lf %s\\n" \
LINE2:totalBits#0000ff:"Total" \
GPRINT:totalBits:AVERAGE:"Avg \\: %10.2lf %s" \
GPRINT:totalBits:MIN:"Min \\: %10.2lf %s" \
GPRINT:totalBits:MAX:"Max \\: %10.2lf %s\\n"

--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"

0 comments on commit 70b45d5

Please sign in to comment.