Smarts IP domain is not reporting Real and Swap memory correctly on Linux hosts
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.
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 {
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_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");
}