Skip to content

Instantly share code, notes, and snippets.

@Aslan
Created July 25, 2011 23:30
Show Gist options
  • Save Aslan/1105539 to your computer and use it in GitHub Desktop.
Save Aslan/1105539 to your computer and use it in GitHub Desktop.
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