Closed phenomic01 closed 10 years ago
See the code:
if (defined($runtime->healthSystemRuntime))
{
$cpuStatusInfo = $runtime->healthSystemRuntime->hardwareStatusInfo->cpuStatusInfo;
$storageStatusInfo = $runtime->healthSystemRuntime->hardwareStatusInfo->storageStatusInfo;
$memoryStatusInfo = $runtime->healthSystemRuntime->hardwareStatusInfo->memoryStatusInfo;
This means that the error occurs when trying to get the cpuStatusInfo. This is caused by your vSphere server and can not be handled by my program (unfortunately). Sorry for that.
Can't call method "cpuStatusInfo" on an undefined value at ../modules/host_runtime_info.pm line 230.
Tested the script on eight ESX Servers - only on one host the issue appears. I can't imagine why. Perhaps you can find anything.