alanrenouf / vCheck-vSphere

vCheck Daily Report for vSphere
MIT License
733 stars 325 forks source link

HA VMs restarted.ps1 not reporting to the check list #710

Open Manikmp23 opened 4 years ago

Manikmp23 commented 4 years ago

Hi , Any body help for , while running vcheck script , HA VMs restarted.ps1 not reporting to the check list

lucdekens commented 4 years ago

Did you check that your vCenter is retaining the events sufficiently long?

Manikmp23 commented 4 years ago

yes we have checked events are sufficiently long ( how ever we tried with recent logs

lucdekens commented 4 years ago

Can you check if there are VM restarted events present in your vCenter?

Get-VIEvent -start (Get-Date).adddays(-5) -MaxSamples ([int]::MaxValue) | 
Where-Object {$_.EventTypeId -eq "com.vmware.vc.ha.VmRestartedByHAEvent"} | 
Select ObjectName,CreatedTime
Manikmp23 commented 4 years ago

yes it is working but how ever it will not replicate in health check report / (Version 6.7.0.42000 Build 15976668 - we have recently upgraded our webclient) please suggest