Provides basic stats about S3 buckets as a New Relic plugin:
- number of objects
- bucket size
- time since last object modification
Fork and customize if you need additional statistics.
- Download the latest version from
https://github.com/adstage/newrelic_s3_plugin/
- Extract to the location you want to run the agent from
- Edit
config/newrelic_plugin.yml
- replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key
- replace AWS credentials with your credentials
- Copy bucket config and put in bucket region and name for each bucket you want to monitor
- run
./newrelic_s3_agent
For bonus points run under supervision. We recommend runit.