how to send mail when load balancer backend service become unhealthy in GCP

Viewed 703

I'm using GCP Load Balancer and set three backend services in one Load Balancer.

When I set an instance group with two instances and one backend service how do I send a warnning mail when the number of healthy instances in a group falls below certain threshold (two for example) like in AWS "HealthyHostCount" ?

enter image description here

1 Answers
Related