Smarts IP Suite: IP domain is not reporting Real and Swap memory correctly on Linux hosts
search cancel

Smarts IP Suite: IP domain is not reporting Real and Swap memory correctly on Linux hosts

book

Article ID: 304089

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Smarts IP domain is not reporting Real and Swap memory correctly on Linux hosts

Environment

VMware Smart Assurance - SMARTS

Cause

There is a problem in the ic-hostresources-mib2-other.asl script that causes Real memory to be discovered in place of Swap, and Swap instead of Real

Resolution

To resolve this issue, you must change the UCD_REAL_MEMORY and UCD_SWAP_MEMORY section headings in the ic-hostresources-mib2-other.asl script as shown in the following "before" and "after" sections of this Fix statement.

UCD_REAL_MEMORY and UCD_SWAP_MEMORY sections before changes

UCD_REAL_MEMORY {
   memTotalSwapOID . ".0" fs value:word fs
} do {
   CREATE_UCD_MEMORY(value,"Swap");
}

UCD_SWAP_MEMORY {
   memTotalRealOID . ".0" fs value:word fs
} do {
   CREATE_UCD_MEMORY(value,"Real");
}

 


UCD_REAL_MEMORY and UCD_SWAP_MEMORY sections after changes

UCD_SWAP_MEMORY {
   memTotalSwapOID . ".0" fs value:word fs
} do {
   CREATE_UCD_MEMORY(value,"Swap");
}

UCD_REAL_MEMORY {
   memTotalRealOID . ".0" fs value:word fs
} do {
   CREATE_UCD_MEMORY(value,"Real");
}