Server Reports for Physical and Swap memory are showing different Values between Smarts and MnR
search cancel

Server Reports for Physical and Swap memory are showing different Values between Smarts and MnR

book

Article ID: 333263

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Smarts is collecting data on physical memory and swap memory and the MnR reports show a different Value.

Environment

Watch4Net/M&R - 7.x

Cause

Physical memory and Swap Memory have identical formula/values in Watch4net

Resolution

The report definition, both Memory Used - Physical and Swap uses 'System RAM' only and hence, have same values. Please check if these metrics are received from SMARTS.

<node name="Memory Used (%) - Physical" order="4" singleNodeId="e28f5a86" type="entity">
    <property xsi:type="NodeFilter" filterExpression="parttype=='Memory' & (part='Real%' | part='Physical%' | part='%System RAM%') & !(name=='LargestFreeBuffer')"/>
 
<node name="Memory Used (%) - Swap" order="6" singleNodeId="e06be6d7" type="entity">
    <property xsi:type="NodeFilter" filterExpression="parttype=='Memory' & (part='Swap%' | part='Virtual%' | part='%System RAM%') & !(name=='LargestFreeBuffer')"/> 

 

  • To resolve the issue, make the needed modification to the report definition to use the "displayname" value from Smarts for paging space.
    For example if the displayName value from smarts references /dev/swap/ replace the value for System RAM as follows:
<node name="Memory Used (%) - Swap" order="6" singleNodeId="e06be6d7" type="entity">
    <property xsi:type="NodeFilter" filterExpression="parttype=='Memory' & (part='Swap%' | part='Virtual%' | part='%/dev/swap%') & !(name=='LargestFreeBuffer')"/>
  • Restart tomcat aftter making the change with the following command from /APG/bin
    ./manage-modules.sh service restart tomcat Default