Solarwinds is showing one of my ESX hosts as having a power supply failure. Vsphere and the the physical box show no signs of this. I have it set to poll through vcenter so where is it getting this information?
Orion
VSphere Web Console
Orion polls its data for the hosts from Vsphere API which apparently isnt the same place Vsphere gets its data. To solve this i verified that the data in the MOB was reporting the same as Orion. Then I reset the sensors. Here is the code to run if you have the VSphere powercli installed.
Show any hardware not green
Get-VMHost ‘Your Host’ |
% {(get-view $_.id).runtime.healthSystemRuntime.systemHealthInfo.NumericSensorInfo |
Where-Object {$_.HealthState.Label -notmatch 'Green'}}
Reset the stuck sensors.
(Get-View (Get-VMHost -Name ‘Your Host’ | Get-View).ConfigManager.HealthStatusSystem).ResetSystemHealthInfo()
Refresh the sensor data
(Get-View (Get-VMHost -Name ‘Your Host’ | Get-View).ConfigManager.HealthStatusSystem).RefreshHealthStatusSystem()
After this, I waited 5 minutes and the hardware status went back to green.
More information
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1037330
https://support.solarwinds.com/Success_Center/Server_Application_Monitor_(SAM)/Troubleshooting_Guide_for_Hardware_Health_for_ESX_host_Server_Polled_Through_vCenter