Making alarm in disk space using cloudwatch

amazon ec2amazon-web-services

I'm a system engineer, and I'm looking for a way to make an alarm on the disk space on our Amazon EC2 cloudwatch, please advice ?

Best Answer

Amazon has provided exactly what you are looking for:

mon-put-instance-data.pl - Collects system metrics on an Amazon EC2 instance (memory, swap, disk space utilization) and sends them to Amazon CloudWatch.

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html

Note: Somebody had posted a pointer to this as an answer here earlier, but it looks like the answer was taken down. I wish they could get credit for this answer.

I'll also pull the aws-missing-tools link from cyberx86's comment above into this answer as it could be helpful:

https://github.com/colinbjohnson/aws-missing-tools/blob/master/ec2-write-storage-used/ec2-write-storage-used.sh

Related Topic