Amazon CloudWatch Monitoring Scripts for Linux

Sample Code & Libraries>Amazon CloudWatch Monitoring Scripts for Linux
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

The Amazon CloudWatch Monitoring Scripts for Linux are sample scripts for monitoring memory and disk space utilization on your Amazon EC2 instances running Linux.

Details

Submitted By: Henry@AWS
AWS Products Used: Amazon CloudWatch
License: Apache License 2.0
Created On: March 1, 2012 8:40 PM GMT
Last Updated: February 24, 2013 10:50 PM GMT
Download

About This Sample

These scripts are designed for you to run on your Amazon EC2 instances running Linux, where you can configure them to report memory and disk space usage metrics to Amazon CloudWatch. Once the metrics are submitted to CloudWatch, you can view graphs, calculate statistics and set alarms on them in the CloudWatch console. Metrics submitted to CloudWatch from the scripts can be configured for an individual instance or across multiple instances. Additionally, Amazon Auto Scaling customers can use the metrics reported by the scripts for Auto Scaling policies. The scripts use AWS IAM for authentication and include support for IAM roles.

Available metrics include:

  • Memory Utilization (%)
  • Memory Used (MB)
  • Memory Available (MB)

  • Swap Utilization (%)
  • Swap Used (MB)

  • Disk Space Utilization (%)
  • Disk Space Used (GB)
  • Disk Space Available (GB)

The scripts submit memory and disk space usage metrics as Amazon CloudWatch Custom Metrics. Standard Amazon CloudWatch free tier quantities and pricing apply. This is an unsupported sample but we appreciate all feedback, comments and questions you post to the AWS forums.

To learn more about how to use the scripts, including setup and configuration, please visit "Amazon CloudWatch Monitoring Scripts for Linux" in the Amazon CloudWatch Developer Guide.


Revision History

  • 2013-02-24-Added IAM, Auto Scaling and aggregate metric support.
  • 2013-03-01-Initial release.

Previous Version: CloudWatchMonitoringScripts-1.0.1.zip

©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.