Possible to create alert for a whole subscription app services?

AzrMonit 1 Reputation point
2020-03-02T14:10:11.837+00:00

Hi all, Is it possible to have an altert on CPU % usage of an App Service be "attached" to a subscription? We create and delete regularly app services and its respective Resource Group (also regularly created and deleted) and would like to monitor the CPU usage of the web app without having to recreate the alert every time we create a new one. Is there any way to have something like this implemented? Thanks all

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,796 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. BTardif-[MSFT] 351 Reputation points
    2020-03-02T17:57:49.29+00:00

    If you are deleting and re-creating resources frequently, you should be using ARM templates --> https://learn.microsoft.com/azure/templates/

    You can include alerts as part of your template definition.

    This way when the app is being created by executing the corresponding template, you would also be creating all the necessary alerts.

    1 person found this answer helpful.
    0 comments No comments

  2. AzrMonit 1 Reputation point
    2020-03-03T08:04:47.563+00:00

    It's different teams that are creating these resources frequently and using templates is not an option at the moment...

    0 comments No comments