monitoring - Azure monitor resource upscales -
i monitoring few azure subscriptions contain lot of resources used lot of users. want notified if these users change or upscale resources. example, if user upscales paas database basic (s0) pricing tier more expensive standard or premium pricing tier, want notification. amount of resources used within azure environment many manually check, hence question.
anyone have suggestion this?
thanks in advance!
i suggest using activity log alert accomplish this: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-activity-log-alerts
first, you'll want generate action want alerted off of (eg. go scale vmss). next, head activity log in portal, giving few minutes event show up. once shows in activity log, click event , in blade appears in bottom half of window, click "add activity log alert." pre-fill activity log alert details event.
now, you'll want generalize alert isn't specific 1 resource. in blade creating activity log alert, keep operation name filled in automatically , category, remove other auto-filled details level, resource name, , resource group (since want alert fire on resource in subscription). create action group defines email addresses, webhooks, , sms numbers want receive notification, , save it.
if there multiple actions want alert off of, eg. scaling on vmss, or web app, or database, you'll want repeat process, creating activity log alert each unique operation name (an operation name has 1:1 mapping resource type). however, can target same action group of these alerts if need modify receives notifications can centrally common action group.
hope helps!
Comments
Post a Comment