Questions tagged [cloudwatch-alarms]

192 questions
3
votes
0 answers

Setting cloudwatch alarm on clodwatch metrics which are not created from cdk but rather service package

I am creating cloudwatch alarms in cdk typescript package. Most of the metrics are also created from the cloudwatch metrics. const functionErrors = new cloudwatch.Metric({ namespace: 'AWS/Lambda', metricName: 'ConcurrentExecutions', …
3
votes
2 answers

Create an alarm based on a CloudWatch insight query

My problem: I would like to blacklist IPs which are accessing my public AWS API Gateway endpoint more than 5 times a hour. My proposed solution: Requests are logged to CloudWatch Requests are counted and grouped by IP An alarm monitors IPs send a…
3
votes
3 answers

How to exclude cloudwatch alarns from SNS topic using filter policy?

I have one SNS topic and it has two subscriptions, one is pagerduty API and other is pagerdutyEmail. I want to exclude alarms from pagerduty Email subscription using subscription filter policy for that topic. I am not sure how I should exclude it,…
3
votes
1 answer

aws elastic beanstalk cannot create scaling trigger fails with AWSEBCloudwatchAlarmHigh null values not allowed

When I try to specify a scaling trigger it keeps erroring with Service:AmazonCloudFormation, Message:[/Resources/AWSEBCloudwatchAlarmHigh/Type/Dimensions/0/Value/Fn::GetAtt/0] 'null' values are not allowed in templates I have a saved template and I…
3
votes
2 answers

AWS CloudWatch auto-reset (OK) alarm on trigger

I am deploying an AutoScalingGroup with AutoScalingPolicies (ScaleUp & ScaleDown) triggered by CloudWatch Alarm (CPU > 70%, CPU < 10%). AutoScaling is working great but...Once the AutoScalingGroup has reached the minimal number of instance (2), the…
3
votes
3 answers

How to setup cloudwatch alarm for beanstalk environment memory

I'm trying to setup the Cloudwatch Alarm for memory on all instances of an AWS Elastic Beanstalk environment. I've setup capability to get Memory usage on Cloudwatch using the following…
3
votes
2 answers

Set the Cloudwatch Alarm High and Low thresholds for AWS Fargate

I have created an autoscaling target and a policy which is attached to it. AutoScalingPolicy: Type: AWS::ApplicationAutoScaling::ScalingPolicy Properties: PolicyName: !Join ['', [!Ref ServiceName, auto-scaling-policy]] …
kk.
  • 3,747
  • 12
  • 36
  • 67
2
votes
1 answer

CloudWatch alarm not triggering on missing data

I have an AWS CloudWatch alarm with this configuration: Type Metric alarm State OK Threshold METRIC_NAME <= 0 for 1 datapoints within 1 day Last change 2022-04-14 23:30:54 Actions Actions enabled Metric…
2
votes
1 answer

Delete DynamoDB default cloudwatch alarms

I am new to DynamoDB. While creating a dynamodb table I can see that it also creates some cloudwatch alarms like TargetTraking-TableXX--ProvisionedCapacityHigh. So my question is can I delete these alarms as it is adding cost. I have tried…
2
votes
0 answers

amazon web services - how to get all alarms except autoscaling?

I want to use python's boto3 library to get all open alarms that aren`t related to autoscaling. So, basically, all alarms that you see, when you click "Hide Auto Scaling alarms" in Cloudwatch.
2
votes
2 answers

AWS CloudWatch is charging me without using

Recently i discovered my bill raising without using anything above free tier of with very minor charges. On the bill management page it was clear that the charges are coming from CloudWatch Alarms as you can see in the picture below. My question is…
2
votes
1 answer

Conditional attribue for Dimensions of Cloudwatch Alarm with Terraform

HI I am creating a common module for cloudwatch alarm that can be used by other services. The dimensions has to be dynamic in this case and it has to accept with no dimensions as well. How do I make it conditional attribute so that it gets executed…
2
votes
1 answer

Creating cloudwatch alarm based on lambda duration metric using cloudformation

I was able to create a cw alarm based on the duration metric (raise alarm if lambda runs for over a minute) using the GUI. But I was wondering how to do this with cloudformation. So far, I have this - Resources: testAlarm: Type:…
2
votes
2 answers

How to configure a CloudWatch alarm to evaluate once every X minutes

I would like to configure a CloudWatch alarm to: sum the last 30 minutes of the ApplicationRequestsTotal metric once every 30 minutes alarm if the sum is equal to 0 I have configured the custom CloudWatch ApplicationRequestsTotal metric to emit…
2
votes
0 answers

What is Diskio_io_time in AWS and how can i calculate the maximum limit of it?

I am little bit confused with this term diskio_io_time. From the AWS documentation i can see it is "The amount of time that the disk has had I/O requests queued" but i want to set an alarm in cloud watch for this metrics. How can i find out the…
1
2
3
12 13