Azure Application Gateway Unavailability and generate Alert

Mishra, Arpit 1 Reputation point
2023-03-03T10:13:14.13+00:00

Hi Team,

My Use case is, as soon as App Gateway gets down due to any reason an alert should have generate and follow its action.

However when i tried to put a resource health alert in Azure, it seems Azure Doesn't provide the Unavailable Event for it. Hence, when app gateway went down it didn't generate any alert but when it back to available state, alert generated consisting its current health status and can have previous health status as well.

App Gateway Metrics, i didn't find much which exactly fix my use case. and same with kusto queries.

I have also tried with Azure Service Health Alert but that wont help me as it comes at region level.

Can you please help me is there anyway by which i can fix my use case.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
988 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 38,291 Reputation points Microsoft Employee
    2023-03-10T09:56:18.1066667+00:00

    @Mishra, Arpit

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to monitor Application gateway and trigger an alert.

    For platform related errors, you can configure "Azure Resource Health".

    User's image

    For Backend related errors (where client gets a 4XX or 5XX error)

    The metric to use here is "Response status (4xx, 5xx) crosses threshold" and create an alert when the client gets a abnormally more number of such responses

    Refer : App Gateway Alerts

    You should observe the gateway in production to determine static threshold or use dynamic threshold for the alert.

    Kindly let us know if the above helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.