‘Cannot complete the HA configuration’ yellow popup message via powercli

by Grzegorz Kulikowski

I have noticed some day that issue like on screenshot below is not going to the Alert tab. 99% that some other alert created this message, for example host is loosing uplink will result in having this popup to show up. I was wondering how it is possible for me to monitor those yellow popups in summary tab 😉

The easiest way to get information about this popup is to check the configissue property of vmhost object.
[sourcecode language=”powershell”]
$myhost=get-vmhost ‘myhost’

Message :
Reason : agentFailed
Key : 0
ChainId : 0
CreatedTime : 8/9/2012 12:27:41 PM
UserName :
Datacenter : VMware.Vim.DatacenterEventArgument
ComputeResource : VMware.Vim.ComputeResourceEventArgument
Host : VMware.Vim.HostEventArgument
Vm :
Ds :
Net :
Dvs :
FullFormattedMessage : HA agent on myhost in cluster X in Y DC has an error : HA agent on the host failed
ChangeTag :
DynamicType :
DynamicProperty :
That’s pretty much it 😉 In this object there will be FullFormattedMessage property that will describe current issue. From here is now easy to write some little report that will inform us if we have any config issues on our hosts.

You may also like

1 comment

Jason Willey May 10, 2016 - 3:08 am

Thanks for this – it really came in handy on something I was working on today. I’ll make sure to mention your blog when I post my script I used this in.


Leave a Reply

Chinese (Simplified)EnglishFrenchGermanHindiPolishSpanish