UCMDB Physical Memory in GB???
We are using UD 10.1. Normally in UCMDB discovery windows server will discover the Windows physical memory in kb/ mb. But in our environment the windows physical memory should be display in GB. SO kindly let me know the steps how to change it.
Re: UCMDB Physical Memory in GB???
It can be achieved by Editing the Windows HRA job script wmi_dis_memory_lib.py. Divide again by 1024 to get the result in GB
memoryCounter = memoryCounter + 1
# physical memory in bytes
sizeInKb += int(resultSet.getLong(1) / 1024)
memory.report(OSHVResult, containerOsh, sizeInKb)
logger.debug("Discovered ", memoryCounter, " memory slots")