Public Repository

Last pushed: 19 hours ago
Short Description
A lightweight Mackerel agent with mackerel-plugin and mkr
Full Description

https://github.com/ailispaw/mackerel-agent


Run

$ docker run -d --restart=always --name mackerel-agent -h `hostname` \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /var/lib/mackerel-agent/:/var/lib/mackerel-agent/ \
  -v /path/to/mackerel-agent.conf:/etc/mackerel-agent/mackerel-agent.conf \
  ailispaw/mackerel-agent

  • mackerel-agent.conf
apikey = "your API key here"

[plugin.metrics.docker]
command = "/usr/bin/mackerel-plugin docker -method API -name-format name"

mkr

$ docker exec mackerel-agent mkr update --status poweroff
$ docker exec mackerel-agent mkr retire
Docker Pull Command
Owner
ailispaw