Amazon CloudWatch Monitoring Scripts for Microsoft Windows Server

Sample Code & Libraries>Amazon CloudWatch Monitoring Scripts for Microsoft Windows Server
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.

**Important** These scripts are no longer supported with the current version of the AWS SDK for .NET. See the Important callout below for a link to the currently supported way of doing this. The Amazon CloudWatch Monitoring scripts for Microsoft Windows Server are sample scripts for monitoring memory, disk and performance counters on Amazon EC2 Windows instances.

Details

Submitted By: Harsha@AWS
AWS Products Used: Amazon Cloudwatch
Language(s): Windows PowerShell
License: Apache License 2.0
Created On: July 19, 2012 7:10 PM GMT
Last Updated: August 6, 2015 4:41 PM GMT
Download

Important   These scripts are no longer compatible with the latest version (v3) of the AWS SDK for .NET. See Sending Performance Counters to CloudWatch and Logs to CloudWatch Logs for the currently supported way of doing this.

These scripts are designed for you to run on your Amazon EC2 instances running Microsoft Windows Server, where you can configure them to report memory, disk space usage, and performance counters 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. You can also configure reporting of your own performance monitor counters to CloudWatch.

These scripts can be run in Amazon EC2 Windows instances that have Windows PowerShell installed.

Available metrics include:

  • Memory Utilization (%)
  • Memory Used (MB)
  • Memory Available (MB)
  • Page File Utilization (%)
  • Page File used (MB)
  • Page File available (MB)
  • Disk Space Utilization (%)
  • Disk Space Used (GB)
  • Disk Space Available (GB)
  • Perfmon Counters.

The scripts submit 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 Windows" in the Amazon CloudWatch Developer Guide.

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