Skip to content

Instantly share code, notes, and snippets.

@uozias
Forked from hakobera/mackerel.config.yml
Last active November 5, 2015 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uozias/6795e3a365acb8d9aed2 to your computer and use it in GitHub Desktop.
Save uozias/6795e3a365acb8d9aed2 to your computer and use it in GitHub Desktop.
Setup Mackerel for AWS Elastic Beanstalk
packages:
rpm:
mackerel: "https://mackerel.io/file/agent/rpm/mackerel-agent-latest.noarch.rpm"
files:
/etc/mackerel-agent/mackerel-agent.conf:
mode: "00644"
owner: root
group: root
encoding: plain
content: |
apikey = "YOUR API KEY"
roles = [ "Service:Role" ]
commands:
start_mackerel_agent:
command: "/etc/init.d/mackerel-agent restart"
ignoreErrors: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment