question

PratyushaMenon-1522 avatar image
0 Votes"
PratyushaMenon-1522 asked PratyushaMenon-1522 commented

Azure Backup Alerts not sending any email notification

I have daily backup jobs running for 3 recovery vaults.
The backups are running successfully each day.
I configured backup alerts (per alert) to send an email notification for: Critical, Warning and Information.

I have been monitoring the backups but since many days we haven't received any notification on email.

Does the alert trigger only if the backup has failed?
How do I get notification of all statuses of backups (success, failed etc.)?

azure-backup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SadiqhAhmed-MSFT avatar image
1 Vote"
SadiqhAhmed-MSFT answered PratyushaMenon-1522 commented

@PratyushaMenon-1522 Thank you for contacting us!

Please refer to the article:
Monitor Azure Backup protected workloads - Azure Backup | Microsoft Docs

To answer your questions:
Does the alert trigger only if the backup has failed?

Alert scenarios

The following scenarios are defined by service as alertable scenarios.

• Backup/Restore failures
• Backup succeeded with warnings for Microsoft Azure Recovery Services (MARS) agent
• Stop protection with retain data/Stop protection with delete data

Please note the exceptions that are listed on the article.


How do I get notification of all statuses of backups (success, failed etc.)?

To get an alert for everything, I would suggest using Log Analytics Workspace and adjusting the triggers for your needs:
Monitor Azure Backup with Azure Monitor - Azure Backup | Microsoft Docs

Backup Reports/Backup Center may also be useful for your needs.
Configure Azure Backup reports - Azure Backup | Microsoft Docs


If the response helped, do "Accept Answer" and up-vote it


· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

As per the link u gave I tried to create an alert based on AddOnAzureBackupJobs
but the query does not fetch me any result even though the backup jobs is running for days

I have enabled diagnostic setting on the recovery vault to send to log analytics as below

101597-image.png


This is the query result from the scope of my log analytics
101702-image.png

Even though the backup jobs have run so many times
101722-image.png


0 Votes 0 ·
image.png (83.4 KiB)
image.png (58.1 KiB)
image.png (103.1 KiB)

@PratyushaMenon-1522 Please configure the Log Analytics to get all the data: ![101794-image.png][1] You probably don’t need all the above as you will be querying the AddonAzureBackupJobs. Allow time to get the data on the Log Analytics Workspace: (this might be the current pain point) ![101815-image.png][2] Having that done, please use the query, to see if you get results: AddonAzureBackupJobs | where JobOperation=="Backup" Then you can start trimming the result by adding more conditions on the query: https://docs.microsoft.com/en-us/azure/backup/backup-azure-monitoring-use-azuremonitor#sample-kusto-queries ---------------------------------------------------------------------------------------------------------------------- If the response helped, do "Accept Answer" and up-vote it [1]: /answers/storage/attachments/101794-image.png [2]: /answers/storage/attachments/101815-image.png

1 Vote 1 ·

Thank you for your help. I can see the query results for addonjobs now.
Please can you also let me know what is backup reports and how does it work in terms of information and alerting?
Secondly, if a backup job fails, does the state of the job become inactive?

0 Votes 0 ·
Show more comments

Hello again,

I had to get back to this ticket for an observation. As mentioned in the original question, I have 3 recovery vault services for 3 countries. Lets call them RVA,RVB and RVC.

I have 3 log analytics for the 3 countries: LA,LB and LC.

I have setup alerts for Azure Add on Jobs with failed status in all 3 log analtics workspace.

What I have observed, the alerts related to scope LA is giving me backup failure alerts related to RVB/RVC. Why is this happening?

Should I not configure separately the alerts?

0 Votes 0 ·