1
0
-1
1 answer
- 210
Hi Satoru,
This was a bug found in Open-AudIT 1.5.3 which we have now fixed in our 1.6.2 release.
The associated ticket is
which details the script fix.If you change the file audit_esx.sh like below, the issue is resolved.
system_pc_memory=0 for temp in $(cim-diagnostic.sh 2>/dev/null | grep "OMC_PhysicalMemory" -A21 | grep Capacity | sed 's/^ *//g' | sed 's/ *$//g' | cut -d" " -f3); do temp=`expr $temp / 1024 / 1024` system_pc_memory=`expr $system_pc_memory + $temp` done
Add your comment...
Hi all,
I found that Wrong Memory size showed for ESXi hosts on Open-Audit Community 1.5.3.
In the script audit_esxi.sh, memory size is calculated as;
But Physical Memory Array of smbiosDump is MAX possible size in GB of physical memory and it's not an actual memory size as below.
Please fix to show an actual physical memory size.
regards,
Satoru Funai