Questions tagged [cloudwatch]

66 questions
1
vote
1 answer

AWS CloudWatch alarm: Trigger when RDS instance is available but not used

I would like to create a CloudWatch alarm that sends an email when I forgot to delete my RDS instance after use. So I only want an alarm that triggers when the RDS instance is available. My initial approach is the following: Create an alarm based on…
1
vote
1 answer

Cloudwatch data logs to create a custom dashboard

So I am working on creating my own dashboard for AWS instances, I am trying to determine is there any way to get AWS cloud watch metrics log so that I can get the data and plot it in a graph. I have been working with AWS CLI but wasn't able to get a…
1
vote
1 answer

AWS Cloudwatch PHP SDK returning unsorted metrics statistics

I am currently extracting CloudWatch metrics statistics with the aws php sdk. Unfortunately the getMetricStatistics method is returning unsorted results. I wonder why it is not sorted by Timestamp ASC. Does anyone know how to get sorted results from…
Jesse
  • 4,323
  • 3
  • 17
  • 16
1
vote
0 answers

Amazon RDS - Cloudwatch shows 0.5 IOPS when not in use

I recently set up an Amazon RDS instance for hosting a database. Even while I'm not using it, CloudWatch is showing a ReadIOPS of 0.2 - 0.3, and a WriteIOPS of 0.2-0.3. My service isn't live yet, so no one else could be using it. Is this normal…
1
vote
2 answers

using get_metric_statistics in simple_aws using ruby

I am trying to explore the simple_aws gem. When I connect to cloudwatch to get the metric statistics I get an error as follows: cw.get_metric_statistics( :metric_name => metric_name, :period => period, :start_time => start_time, :end_time =>…
0
votes
2 answers

AWS: how to schedule deleting EBS Snapshots after 1 week?

I'm scheduled automatic creation EBS Snapshots using CloudWatch How to schedule automatic deleting old snapshots?
Artik
  • 153
  • 4
  • 14
0
votes
1 answer

To extract the threshold values of the alarms using python boto

alarms = c.describe_alarms() for alarm in alarms: print alarm.name print alarm.metric print alarm.namespace I have got all the alarms associated with the RDS. Now i need to find the threshold values for these alarms. Can…
Kriko
  • 21
  • 2
0
votes
1 answer

AWS CloudWatch, setting up alarm on against a metric dimension

I have a custom metric with many dimensions. Can I setup an alarm against the value of a dimension instead of the metric?
user2202911
  • 2,898
  • 5
  • 20
  • 28
0
votes
1 answer

How to change alarm details schema on cloudwatch

Hi' how can i change alarm details schema on cloudwatch. i have only- Alarm Details: - Name: - Description: - State Change: - Reason for State Change: Threshold Crossed: - Timestamp: - AWS Account: I want to add more/ please help/
ROIR
  • 69
  • 2
  • 8
0
votes
1 answer

Boto / Cloudwatch recover instance alarm

I've been banging my head against a wall trying to make this work. I'm attempting to use python/boto to create a cloutwatch alarm that recovers a failed ec2 instance. I'm having difficulty in getting the ec2:RecoverInstance action to work. I…
0
votes
0 answers

How do I continuously add servers to an autoscaling group as long as an alarm is firing?

Say I'm looking to reduce average memory use across an auto scaling group - depending on the size of the group, I want to launch a varying number of servers. I've created a cloudwatch alarm that fires as soon as memory is above some level, and spins…
blueberryfields
  • 45,910
  • 28
  • 89
  • 168
0
votes
1 answer

AWS cloudwatch alarms are not triggering

I created a free tier Windows Server EC2 instance on AWS. I created alarms for CPU utilization. When the average CPU utilization exceeds 75% for a period of 5 minutes, the high CPU utilization alarms triggers occasionally and I receive an email from…
0
votes
0 answers

EC2 metrics-month calculation explanation

I know if I need detailed monitoring per EC2 there is a cost involved. So even after making sure Detailed monitoring is turned off, I am getting billed for around 120+ metrics used. ( AWS-CloudWatch Charges 64.20) No custom metrics are added…
user2967920
  • 469
  • 1
  • 8
  • 22
0
votes
0 answers

Boto CloudWatch Not returning results from AWS Web Console, and Results are There

I'm using boto to look for cloudwatch usage metrics from some of my machines. I can't seem to get it to return any results. The returned list is always empty. I have checked in the web console and there are metrics for the timeframe I'm…
Grant Zukel
  • 1,153
  • 2
  • 24
  • 48
0
votes
1 answer

Cloudwatch custom log metrics not being created with boto3

I'm attempting to write an AWS Lambda which will loop over all Cloudwatch log groups, creating a metric filter for a search term on each log group. Unfortunately I am finding that although all of my calls to put_metric_filter receive HTTP 200…
jamesw
  • 63
  • 1
  • 11