Created
July 25, 2011 23:30
-
-
Save Aslan/1105539 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash "Add AWS alert" do | |
code <<-EOH | |
export JAVA_HOME="/usr/lib/jvm/java-6-sun"export PATH=/usr/lib/cloudwatch-api-tools/bin:$PATH | |
export AWS_CLOUDWATCH_HOME=/usr/lib/cloudwatch-api-tools | |
export AWS_CREDENTIAL_FILE=$AWS_CLOUDWATCH_HOME/credential-file-path.template | |
mon-put-metric-alarm xxx | |
EOH | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment