althea/ec2_disk_monit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Monitor disk usage of all your ec2 instances ================================================ Pulls disk usage stats(df) of all your instances and sends an email to the specified email address. You can also add filters to get notifications when disk usage of a partition crosses a predefined value. Run : bundle install Usage: bundle exec irb require "./disk_monit.rb" ec2 = EC2Helpers.new(70, ec2 access key, ec2 secret key, "example@ex.com") ec2.get_disk_info_of(ec2.app_servers) TODO: 1. Ability to pull other stats. 2. Dynamic filters.