Questions tagged [cloudwatch-alarms]
192 questions
0
votes
1 answer
Is there any way to create AWS cloudwatch alarms in bulk?
I have to create almost 150 alarms in AWS cloudwatch. I explore AWS cloudformation but couldn't find any solution. Does cloudformation supports creation of alarms in bulk? Or is it possible using AWS sdk?

Munam Tariq
- 160
- 1
- 3
- 13
0
votes
2 answers
Encountered unsupported property ComparisonOperator
Cloudformation stack throws Error "Encountered unsupported property Comparison Operator" , while creating an AWS::CloudWatch::Alarm using cloudformation.
As per AWS documentation ComparisionOperator value GreaterThanOrEqualtoThreshold is valid.
I…

Govardhan Pagidi
- 1
- 4
0
votes
2 answers
AWS CloudWatch Alarm to add capacity to EC2 autoscaling group has been in alarm forever
I set a CloudWatch Alarm to add 1 capacity unit to EC2 autoscaling group when memory reservation is > 70%. The Alarm was triggered at the right moment, but it has since been in alarm for 16 hours+ with no change at all in the EC2 autoscaling group.…

His
- 5,891
- 15
- 61
- 82
0
votes
1 answer
AWS Cloudwatch Math Expressions: removing Insufficient Data: is there a "coalesce" function like SQL?
Can I replace a None/Insufficient data point as a value (constant is fine) in a Cloudwatch Math Expression?
I am using a math expression of several metrics: if's, arithmetic, etc.
The problem is that you are now bound by all of the variables having…

Mark Gerolimatos
- 2,424
- 1
- 23
- 33
0
votes
3 answers
getting terraform reference for AWS CloudWatch alarm
The following terraform resource creates AWS cloudwatch alarm, but remains in "insufficient data" state. I believe this is due to some of the dimension names I used (DevicePath, fstype) may not be correct. I know the names MountPath and InstanceID…

Mizan
- 1
- 2
0
votes
1 answer
Trigger sns when vpn tunnel is up or down
I am trying to create an alarm that triggers sns topic when vpn tunnels are up or down. According to documentation from AWS I created TunnelState alarm which triggers if tunnel goes down or condition hits 0.
Now, I want to create an alarm that…

NoviceMe
- 3,126
- 11
- 57
- 117
0
votes
1 answer
How to set up a limit or an alarm on CloudWatch for Amazon Comprehend
I'm planning on using Amazon Comprehend for some trial project, but I would like to stay within limits of the free tier. For this reason, I need to set up an alarm on CloudWatch to get informed when I reach said limits.
However, I am unable to…

ggonmar
- 760
- 1
- 7
- 28
0
votes
0 answers
Where can an absolute beginner learn to string CloudWatch alarms to Lambda, and then to AWS-RunRemoteScript in SSM?
I'm working with a legacy Adobe ColdFusion stack (there are plans to redevelop using something more contemporary), and we have an issue whereby very occasionally, the CPU will spike and we need to restart ColdFusion and IIS on the Windows EC2…
0
votes
1 answer
Best values to set duration alarm on Lambda Function
I have a lambda function which does some work. I wanted to create a cloudwatch alarm on it for duration of lambda, i.e. how much time this lambda is taking to run?
I tried to use the following values for the alarm but I am getting a issue with this…

hatellla
- 4,796
- 8
- 49
- 101
0
votes
1 answer
Adding delay to initial AWS application autoscaling scale-out
I'm using boto3 to apply custom application autoscaling policies to two HTTP endpoints, which increases instance counts for each. These policies are triggered based on the size of a single queue. For example, both endpoints have alerts that trigger…

Austin
- 6,921
- 12
- 73
- 138
-1
votes
2 answers
Disabling cloud watch alarm actions with lambda
I am trying to disable the cloudwatch alarm actions using lambda function as provided by following article "https://medium.com/geekculture/enable-or-disable-aws-alarms-at-given-intervals-d2f867aa9aa4".
However i am facing timeouts during it's…

RagingRhino
- 11
- 2
-1
votes
2 answers
AWS Lambda function to loop and execute in all accounts
We have a master account and a few sub-accounts.
I have written a lambda code that is searching for cloud-watch alarms in the master account and sends the details of the alarms to Amazon Chime Webhook.
The current requirement is to use the lambda…

Santosh
- 1
- 1