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?
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?
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