-
Notifications
You must be signed in to change notification settings - Fork 0
Quickstart
rremer edited this page Jan 9, 2013
·
11 revisions
Assuming you're on a Debian-based system like Ubuntu, installation is a breeze:
- Install the latest binary version.
sudo dpkg -i cloudwatchd.deb - Update /etc/cloudwatchd/credentials.conf with your AWS API credentials. The user credentials only need read/write for cloudwatch, so you could make your IAM policy like this: { "Statement": [ { "Action": [ "cloudwatch:", "sns:", "autoscaling:Describe*" ], "Effect": "Allow", "Resource": "*" } ] }
- Throw scripts in /etc/cloudwatchd/metrics. The only requirements there are: a) the script needs to send its metric to stdout b) the script needs to have an extension (currently sh,py,pl for bash/shell, python, perl respectively)
- Profit. e.g.
sudo service cloudwatchd start