Backup Failed Metric

0

HI, I have noticed that until I fail an AWS Backup on CloudWatch, the NumberOfBackupJobsFailed metric does not appear. How can I activate the metric and make it permanent so that I can monitor it and ensure it remains at ZERO?"

已提问 1 年前547 查看次数
1 回答
2

Hi there,

I understand that you are not seeing the NumberOfBackupJobsFailed metric in your CloudWatch.

If there is no datapoint for a specific metric in a reporting period, then the AWS Backup service would not emit any datapoint for that period to CloudWatch. The docuemntation here [1] states the "Reporting Criteria" as "There is a nonzero value". This means that only if there is a number higher than 0 reported for that specific metric (i.e. any number higher than 0) would CloudWatch recieve any datapoint correlated to this metric. CloudWatch will display a metric in the CloudWatch console for 14 days since the last time it recieved a metric [2]. If no datapoint for a metric is recieved within the past 14 days, then the metric would not be seen in the console. You cannot change this behaviour for an AWS service provided metric (i.e. to emit a 0 metric every period).

As for your specific use case, this would technically be a good thing as it would indicate no backup jobs have failed, hence why no datapoints are available.

I hope this helps!

Ahmad

[1] https://docs.aws.amazon.com/aws-backup/latest/devguide/cloudwatch.html#monitoring-metrics-with-cloudwatch

profile pictureAWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则