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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南