Skip to content

Commit

Permalink
updated current connections from task to warning (#116)
Browse files Browse the repository at this point in the history
Co-authored-by: jay verma <[email protected]>
  • Loading branch information
jay72487 and jay verma authored Jan 5, 2024
1 parent 2dd48b5 commit 4cfad5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cfnguardian/resources/elasticache_replication_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ def default_alarms
@alarms.push(alarm)

alarm = CfnGuardian::Models::ElastiCacheReplicationGroupAlarm.new(@resource)
alarm.name = 'CurrentConnectionsTask'
alarm.name = 'CurrentConnectionsWarning'
alarm.metric_name = 'CurrConnections'
alarm.comparison_operator = 'GreaterThanThreshold'
alarm.threshold = 50000
alarm.evaluation_periods = 10
alarm.alarm_action = 'Task'
alarm.alarm_action = 'Warning'
@alarms.push(alarm)

alarm = CfnGuardian::Models::ElastiCacheReplicationGroupAlarm.new(@resource)
Expand Down

0 comments on commit 4cfad5f

Please sign in to comment.