Hi,
In a VCSA 6.7U2 GUI, I can select a Virtual Center, select Mon... (I believe it stands for Monitor), scroll down to the bottom and select Health (just beneath Security). There's a wealth of information there: Compute Health Checks, Network Health Checks, etc.
How do I access that programatically? Is there a CMDlet? A VIEW I can explore? An object? REST? Python?
I can get to the VAMI health specifics - it's the VCSA (Virtual Center) components I'm trying to access.
Thanks
JoeA
Have a look at the HealthUpdateManager service.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Have a look at the HealthUpdateManager service.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks for opening another door Luc!
Do you happen to know where the list of provider IDs is or how to obtain them?
The below call returns nothing. I've tried on two different Vcenters using the Admin.Local account via a shell and via the MOB.
There's plenty of methods to exercise but most require providerId or filterID. Maybe documented in the SDK?
Appreciate your assistance,
JoeA
$si = Get-View ServiceInstance
$hu = Get-View -id $si.Content.HealthUpdateManager
$hu.QueryProviderList()
Unfortunately, I don't have a provider in my test environment, so I can't give you any concrete script.
But have a look at William's PowerCLI module for Proactive HA (including simulation) post.
He even added a simulation module, see ProactiveHA
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference