Skip to content

Instantly share code, notes, and snippets.

@pyohei
Last active November 5, 2017 00:14
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 pyohei/0e78629b6a48ed67733e4d6105b755a1 to your computer and use it in GitHub Desktop.
Save pyohei/0e78629b6a48ed67733e4d6105b755a1 to your computer and use it in GitHub Desktop.
Install mackerel agent in Raspberry Pi

最新のARM版mackerel-agentをダウンロード

# URLが最新かどうかはチェックするように
wget https://github.com/mackerelio/mackerel-agent/releases/download/v0.30.2/mackerel-agent_linux_arm.tar.gz
tar xzfv mackerel-agent_linux_arm.tar.gz
cd mackerel-agent_linux_arm.tar

設定ファイルの編集

# `# apikey = ""` となっている部分にAPIKEY(Makerelで取得可能)を入れコメントを外す。
vi mackerel-agent.conf

起動

sudo ./mackerel-agent --conf=./mackerel-agent.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment