Last active
April 24, 2017 05:32
-
-
Save hakobera/897fd96ba2d3c7b112a6 to your computer and use it in GitHub Desktop.
Setup Mackerel for AWS Elastic Beanstalk
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
packages: | |
rpm: | |
mackerel: "http://yum.mackerel.io/centos/x86_64/mackerel-agent-0.7.0-1.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