Questions tagged [cloudwatch]
66 questions
2
votes
1 answer
AWS EC2 CloudWatch Mem Util and Disk Util in AutoScaleGroup
Recently, I've been investigating how to setup CloudWatch Monitoring in our AWS instances to include Mem Util and Disk Util.
I've followed this guide.
It worked like a charm.
I have everything working on our Production-REF (Reference) box. I…

Dan
- 81
- 4
2
votes
3 answers
How to use the nextToken in the ListMetrics function
I am trying to list all the metrics stored in CloudWatch using the function: ListMetrics.
The function returns about 500 metrics and a string value called NextToken that is to be used in the next call to get the rest of the metrics.
This is my code…

BigMan
- 83
- 2
- 12
2
votes
1 answer
Cloudwatch alarm: "cb9978ge CPUUtilization"
I'm new with AWS and I'm having a very stupid question.
I'm getting AWS Notifications emails a few times a day with the following content:
You are receiving this email because your Amazon CloudWatch Alarm "cb9978ge CPUUtilization" in the US-West-2…

Jaba L
- 33
- 1
- 3
1
vote
1 answer
AWS CloudWatch API: getting the database-wide metrics
I'm working on multitenant application which create MySQL RDS-based databases for tenants. There are many of those databases can be created per one RDS DB instance - they are pretty small and minimum size of the DB instance is 5GB.
To provide usage…

maxnk
- 5,755
- 2
- 27
- 20
1
vote
2 answers
Sdk Java API for creating dashboard
Do SDK Java API support creating dashboards ;widget and adding graphs to widgets in cloudwatch?

Srikarsh Vardhanreddy Kolanu
- 21
- 1
- 1
- 4
1
vote
3 answers
CloudWatch alarm for Amazon EC2 Service Instance Limits
Is it possible to set a CloudWatch alarm for when we are approaching the limit of EC2 instances currently allowed on our account?
For instance, if limit for EC2 instances is currently 250, when instance number 240 is provisioned, I want an alarm to…

chris-vest
- 31
- 6
1
vote
1 answer
AWS Lambda function with multipal cron expressions
I wrote 4 lambda functions in Python, one stops my dev instances at 19p.m from monday to friday, second function starts them at 7a.m from monday to friday, the third function stops the test instances at 17p.m all days of the week and the forth…

JavaQueen
- 1,155
- 2
- 19
- 44
1
vote
0 answers
Node js: How to set aws cloudwatch alarm state
Tried with below lambda function which will change the state of alarm "OnSNSFailureArm".
exports.handler = (event, context, callback) => {
var params = {
AlarmName: 'OnSNSFailureArm',
StateReason: 'Change Dynamically',
…

minesh chavda
- 11
- 1
1
vote
1 answer
CloudWatch log role ARN and Policy
A question was asked on this thread about CloudWatch log role ARN and an answer was provided that the following Trust Relationship policy would allow for enabling CloudWatch logs. My question is, where do I place this policy? Trying to add it by…

user6629979
- 11
- 3
1
vote
1 answer
Logstash-cloudwatch-input plugin is not sending data to Elasticsearch
I have an EC2 instance setup in a private vpc network with the IAM role shown below:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CloudWatchAccess",
"Effect": "Allow",
"Action": [
…

Ali-Sh
- 26
- 2
1
vote
0 answers
Monitoring Datomic in CloudWatch without CloudFormation
I'm trying to monitor the Datomic transactor in CloudWatch. According to the documentation (section "Using S3 log storage and CloudWatch metrics with other storages") I should be able to do it simply by setting a couple config variables and making…

Gordon Seidoh Worley
- 7,839
- 6
- 45
- 82
1
vote
2 answers
How do I send log4perl log messages to Amazon Cloudwatch?
I have a Perl/Plack/Postgres/Linux web application that runs on an Amazon EC2 instance. I'm about to start running it on multiple instances, behind a load balancer, so I need a way to gather together the application's log messages into a single…

rohanc
- 525
- 6
- 12
1
vote
1 answer
Timestamp issue with Amazon CloudWatch Logs integration for Windows event logs
I've just configured my Windows box to send its event logs (System, Security, Application) to Cloudwatch Logs…

4del
- 13
- 3
1
vote
0 answers
Create a report for AWS defining number of instances in use
I would like to create a report that shows the number of instances in use per data center, avg load on servers ( CPU & memory ) , server failures, bandwidth used . Can this be captured with cloud watch in one aggregation or should I create custom…

Priya Rajput
- 101
- 2
- 8
1
vote
1 answer
Recover m3 instance with AWS Cloudwatch Alarm
I'm trying to setup a CloudWatch Alarm that automatically recover my instance if it goes down.
The problem is that CloudWatch allows me to automatically send an email but it doesn't let me check the Recover instance button.
Given the following…

JoséMi
- 11,642
- 2
- 21
- 25