Collects memory, swap, and disk space utilization on an Amazon EC2 instance and sends this data as custom metrics to Amazon CloudWatch periodically.
To start cloudwatcher
daemon you simply run:
$ cloudwatcher
You can also query Amazon CloudWatch API for recent statistics:
$ cloudwatcher statistics
- Memory Utilization (%)
- Memory Used (MB)
- Memory Available (MB)
- Swap Utilization (%)
- Swap Used (MB)
- Disk Space Utilization (%)
- Disk Space Used (GB)
- Disk Space Available (GB)
- Fix disk space conversion
- Fix InvalidClientTokenId error
- Command-line interface
- Custom time periodicity
- Validate configuration values
- Get utilization statistics for the last X hours
Inspired by Amazon CloudWatch Monitoring Scripts for Linux.
MIT.