Skip to content

Commit

Permalink
Update default device for Amazon Linux to align to default drive: nvm…
Browse files Browse the repository at this point in the history
…e0n1p1
  • Loading branch information
knizami committed May 4, 2023
1 parent 3aa1d53 commit 118789b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cw_auto_alarms.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
'Amazon Linux': [
{
'Key': alarm_separator.join(
[alarm_identifier, cw_namespace, 'disk_used_percent', 'device', 'xvda1', 'fstype', 'xfs', 'path',
[alarm_identifier, cw_namespace, 'disk_used_percent', 'device', 'nvme0n1p1', 'fstype', 'xfs', 'path',
'/', 'GreaterThanThreshold', default_period, default_evaluation_periods, default_statistic,
'Created_by_CloudWatchAutoAlarms']),
'Value': alarm_disk_used_percent_threshold
Expand Down

0 comments on commit 118789b

Please sign in to comment.