@@ -19,7 +19,7 @@ resource "aws_cloudwatch_metric_alarm" "cluster_status_is_red" {
1919 period = " 60"
2020 statistic = " Maximum"
2121 threshold = " 1"
22- alarm_description = " Average elasticsearch cluster status is in red over last 5 minutes"
22+ alarm_description = " Average elasticsearch cluster status is in red over last 1 minutes"
2323 alarm_actions = [" ${ local . aws_sns_topic_arn } " ]
2424 ok_actions = [" ${ local . aws_sns_topic_arn } " ]
2525 treat_missing_data = " ignore"
@@ -40,7 +40,7 @@ resource "aws_cloudwatch_metric_alarm" "cluster_status_is_yellow" {
4040 period = " 60"
4141 statistic = " Maximum"
4242 threshold = " 1"
43- alarm_description = " Average elasticsearch cluster status is in yellow over last 5 minutes"
43+ alarm_description = " Average elasticsearch cluster status is in yellow over last 1 minutes"
4444 alarm_actions = [" ${ local . aws_sns_topic_arn } " ]
4545 ok_actions = [" ${ local . aws_sns_topic_arn } " ]
4646 treat_missing_data = " ignore"
@@ -82,7 +82,7 @@ resource "aws_cloudwatch_metric_alarm" "cluster_index_writes_blocked" {
8282 period = " 300"
8383 statistic = " Maximum"
8484 threshold = " 1"
85- alarm_description = " Elasticsearch index writes being blocker over last 10 minutes"
85+ alarm_description = " Elasticsearch index writes being blocker over last 5 minutes"
8686 alarm_actions = [" ${ local . aws_sns_topic_arn } " ]
8787 ok_actions = [" ${ local . aws_sns_topic_arn } " ]
8888 treat_missing_data = " ignore"
@@ -121,10 +121,10 @@ resource "aws_cloudwatch_metric_alarm" "automated_snapshot_failure" {
121121 evaluation_periods = " 1"
122122 metric_name = " AutomatedSnapshotFailure"
123123 namespace = " AWS/ES"
124- period = " 600 "
124+ period = " 60 "
125125 statistic = " Maximum"
126126 threshold = " 1"
127- alarm_description = " Elasticsearch automated snapshot failed over last 10 minutes"
127+ alarm_description = " Elasticsearch automated snapshot failed over last 1 minutes"
128128 alarm_actions = [" ${ local . aws_sns_topic_arn } " ]
129129 ok_actions = [" ${ local . aws_sns_topic_arn } " ]
130130 treat_missing_data = " ignore"
@@ -145,7 +145,7 @@ resource "aws_cloudwatch_metric_alarm" "cpu_utilization_too_high" {
145145 period = " 900"
146146 statistic = " Average"
147147 threshold = " ${ local . thresholds [" CPUUtilizationThreshold" ]} "
148- alarm_description = " Average elasticsearch cluster CPU utilization over last 10 minutes too high"
148+ alarm_description = " Average elasticsearch cluster CPU utilization over last 45 minutes too high"
149149 alarm_actions = [" ${ local . aws_sns_topic_arn } " ]
150150 ok_actions = [" ${ local . aws_sns_topic_arn } " ]
151151
@@ -165,7 +165,7 @@ resource "aws_cloudwatch_metric_alarm" "jvm_memory_pressure_too_high" {
165165 period = " 900"
166166 statistic = " Maximum"
167167 threshold = " ${ local . thresholds [" JVMMemoryPressureThreshold" ]} "
168- alarm_description = " Elasticsearch JVM memory pressure is too high over last 10 minutes"
168+ alarm_description = " Elasticsearch JVM memory pressure is too high over last 15 minutes"
169169 alarm_actions = [" ${ local . aws_sns_topic_arn } " ]
170170 ok_actions = [" ${ local . aws_sns_topic_arn } " ]
171171
@@ -185,7 +185,7 @@ resource "aws_cloudwatch_metric_alarm" "master_cpu_utilization_too_high" {
185185 period = " 900"
186186 statistic = " Average"
187187 threshold = " ${ local . thresholds [" MasterCPUUtilizationThreshold" ]} "
188- alarm_description = " Average elasticsearch cluster CPU utilization over last 10 minutes too high"
188+ alarm_description = " Average elasticsearch cluster CPU utilization over last 45 minutes too high"
189189 alarm_actions = [" ${ local . aws_sns_topic_arn } " ]
190190 ok_actions = [" ${ local . aws_sns_topic_arn } " ]
191191
@@ -205,7 +205,7 @@ resource "aws_cloudwatch_metric_alarm" "master_jvm_memory_pressure_too_high" {
205205 period = " 900"
206206 statistic = " Maximum"
207207 threshold = " ${ local . thresholds [" MasterJVMMemoryPressureThreshold" ]} "
208- alarm_description = " Elasticsearch JVM memory pressure is too high over last 10 minutes"
208+ alarm_description = " Elasticsearch JVM memory pressure is too high over last 15 minutes"
209209 alarm_actions = [" ${ local . aws_sns_topic_arn } " ]
210210 ok_actions = [" ${ local . aws_sns_topic_arn } " ]
211211
0 commit comments