Skip to content

qiushihe/rubywatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RubyWatch

Amazon CloudWatch daemon written in Ruby

Install ruby-hmac gem.

Setup

Create a config.yml based on the content of config.example.yml.

Make rubywatch.rb executable:

$ chmod +x rubywatch.rb

Usage

To simply run the script once:

$ ./rubywatch.rb

To make the script run every minutes, create a file in /etc/cron.d/ with the content:

* * * * * root /path/to/rubywatch/rubywatch.rb

... or simply put the above content in /etc/crontab. And to make the script run every 5 minutes instead, use:

*/5 * * * * root /path/to/rubywatch/rubywatch.rb

About

CloudWatch Custom Metrics in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages