-4

I have two application gateways in azure whenever one goes down it switches to the other, but VM (outside of azure) is in on-premises.

How to generate an alert when one application gateway is Unavailable?

James Z
  • 12,209
  • 10
  • 24
  • 44
Ajay
  • 21
  • 1
  • 8

1 Answers1

0

Monitoring application gateways is pretty straight forwards, if one gateway is down it would mean all backends are down and you can generate alerts on that easily using azure monitor and the alerts.

Documentation how to do this can be found here

Matt Douhan
  • 677
  • 3
  • 13
  • thanks for the reply @Matt Douhan ,small clarification against what metrics the query has to be done. .... Sum Total Requests, Sum Failed Requests, Sum Response Status by HttpStatus, Sum Throughput, Sum CurrentConnections, Avg Healthy Host Count By BackendPool HttpSettings, Avg Unhealthy Host Count By BackendPool HttpSettings – Ajay Jan 20 '22 at 14:04
  • @Ajay I have not looked into the details but if you avg unhealthy Host count is 0 tha wojld probably work – Matt Douhan Jan 21 '22 at 10:25