Backup failure alert in lifecycle manager

0

How we can set alert if any backup job get fails?

demandé il y a 2 ans608 vues
2 réponses
1
Réponse acceptée

Consider looking at CloudWatch Metrics to gain insight into the operations aspect. CloudWatch metrics for Data Lifecycle Manager reports success and error metrics. These metrics might be enough for you to create alarms to be triggered when resources are not created, copied or deleted, allowing you to take immediate action to diagnose and fix potential issues.

Additionally, Data Lifecycle Manager generates a “DLM Policy State Change” event if a policy enters the error state. Refer to Monitor your policies using CloudWatch Events. You could look at triggering a notification based rule based on this type of event.

RoB
répondu il y a 2 ans
0

I think it would be best to use EventBridge and SNS.

Sample Event Pattern

{
  "source": ["aws.backup"]
}

Sample Test Event

{
  "version": "0",
  "id": "12345678-5f35-d9a2-76d1-613683e4e024",
  "detail-type": "Backup Vault State Change",
  "source": "aws.backup",
  "account": "123456789012",
  "time": "2020-06-24T23:18:19Z",
  "region": "us-east-1",
  "resources": ["arn:aws:backup:us-west-2:123456789012:backup-vault:SampleVault"],
  "detail": {
    "backupVaultName": "SampleVault",
    "state": "CREATED"
  }
}
profile picture
Sri
répondu il y a 2 ans
  • I think you have shared for AWS backup service suggestion instead of Data Life Cycle Manager.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions