-
PAGES
-
CONTACT INFORMATION
CloudWatch Monitor for Windows
This utility was written to submit disk and memory usage metrics to Amazon CloudWatch. When executing, it will submit the following metrics:
Disk Metrics
- DiskSpaceUtilization - Drive space used, as a percent of total drive size
- DiskSpaceUsed - Amount of drive space used, in bytes
- DiskSpaceAvailable - Amount of drive space available, in bytes
The dimensions of the disk metrics will be by instance ID and by drive (C, D, E, etc.)
Memory Metrics
- MemoryUtilization - Total memory used (physical + virtual), as a percent of total memory
- MemoryUsed - Amount of memory used, in bytes
- MemoryAvailable - Amount of memory available, in bytes
- PhysicalMemoryUtilization - Total physical memory used, as a percent of total physical memory
- PhysicalMemoryUsed - Amount of physical memory used, in bytes
- PhysicalMemoryAvailable - Amount of physical memory available, in bytes
- VirtualMemoryUtilization - Total virtual memory used, as a percent of total virtual memory
- VirtualMemoryUsed - Amount of virtual memory used, in bytes
- VirtualMemoryAvailable - Amount of virtual memory available, in bytes
The dimensions of the memory metrics will be by instance ID.
All of the above metrics are in the System/Windows namespace.
Requirements
- Microsoft Windows Server 2008 R2 or later
- Microsoft .NET 4.5
If you're using a "standard" Amazon AMI for Windows Server 2012 or later, then you should be fine.
Installing
The installation is manual, but not too bad.
Note, if you previously used our Disk Space CloudWatch Monitor, please stop and uninstall it before continuing with these instructions.
- On your EC2 instance, create a folder in your "C:\" root directory called "CloudWatchMonitor". You can make the folder anywhere, this is just an example.
- Unzip the binary package below into your new folder.
-
We recommend you use IAM roles for permissions, but if you must use access keys then:
- Using notepad, edit CloudWatchMonitor.config to add your Amazon Access Keys.
- Execute CloudWatchMonitor.exe.
At this point, the monitor should be running in console mode. You should see it collecting data and submitting to Amazon CloudWatch. If you go to the CloudWatch portion of the Amazon AWS Management Console, you should start seeing metrics after a few minutes.
If you would like to install this as a Windows service, please do the following:
- As administrator, execute "CloudWatchMonitor.exe -i". This will tell the service to self-install.
- Either reboot your instance, or navigate to Control Panel, Services to start your service. The service is called "CloudWatch Monitor".
To uninstall the Windows service, please do the following:
- As administrator, execute "CloudWatchMonitor.exe -u". This will tell the service to self-uninstall.
Downloads
Version 1.5
The source project was created using Visual Studio 2010.