VMSS HealthCheck - Alert on VMSS instance health state
Anna Shen
0
Reputation points Microsoft Employee
HI,
I have configured Health Check on my VMSS, and enabled automatic OS upgrade. I found one of the VM failed the health check probably after OS upgrade or deployment. I am looking for a way to be able to query this VM instance Health state, so that I can set up alert via email. This is what I have done:
- I have enabled VMSS insights and linked to Log Analytics workspace.
- I have created diagnostic setting to collect all Activity logs under this subscription to send to another Log Analytics workspace.
I found there are plenty logs and metrics in Log Analytics workspace, and I want to know which metric should I use to setup alert rule query? What if I also want to monitor VM instance Status and VM instance Provisioning state?
Sign in to answer