diff --git a/opennms-base-assembly/src/main/filtered/etc/snmp-graph.properties.d/wsman-microsoft-windows-virtmem.properties b/opennms-base-assembly/src/main/filtered/etc/snmp-graph.properties.d/wsman-microsoft-windows-virtmem.properties new file mode 100644 index 000000000000..9f2c81baacfa --- /dev/null +++ b/opennms-base-assembly/src/main/filtered/etc/snmp-graph.properties.d/wsman-microsoft-windows-virtmem.properties @@ -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"