Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/foundation-2022' into foundation…
Browse files Browse the repository at this point in the history
…-2023
  • Loading branch information
opennms-bamboo committed Dec 11, 2024
2 parents 83b785d + 52fa20f commit 36a0798
Showing 1 changed file with 32 additions and 0 deletions.
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"

0 comments on commit 36a0798

Please sign in to comment.