Skip to content

Instantly share code, notes, and snippets.

@katzchang
Last active February 28, 2017 08:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katzchang/7e1a890eb9d0875d61148214d5519ad0 to your computer and use it in GitHub Desktop.
Save katzchang/7e1a890eb9d0875d61148214d5519ad0 to your computer and use it in GitHub Desktop.
API_KEY=
install:
curl -fsSL "https://mackerel.io/file/script/amznlinux/setup-yum.sh" | sh
yum install -y mackerel-agent
mackerel-agent init -apikey="$(API_KEY)"
start:
/sbin/service mackerel-agent start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment