MackerelのAgentがエラーを出した
root@lcpi:~# /opt/mackerel-agent_linux_arm/mackerel-agent --conf=/opt/mackerel-agent_linux_arm/mackerel-agent.conf &
[1] 30145
root@lcpi:~# 2017/07/27 15:55:44 INFO <main> Starting mackerel-agent version:0.43.1, rev:a09f4bb, apibase:https://mackerel.io
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1c pc=0x21a860]
goroutine 1 [running]:
github.com/mackerelio/mackerel-agent/command.prepareHost(0x1070f950, 0x10802980, 0x10715da0, 0x2c, 0x10714000)
/home/travis/gopath/src/github.com/mackerelio/mackerel-agent/command/command.go:104 +0x160
github.com/mackerelio/mackerel-agent/command.Prepare(0x1070f950, 0x2aecc4, 0x107fadc0, 0x1b)
/home/travis/gopath/src/github.com/mackerelio/mackerel-agent/command/command.go:548 +0x68
main.start(0x1070f950, 0x107fd4c0, 0x0, 0x0)
/home/travis/gopath/src/github.com/mackerelio/mackerel-agent/main.go:171 +0x1ec
main.doMain(0x10715ce0, 0x1070a138, 0x1, 0x1, 0x10800128, 0x3b0001)
/home/travis/gopath/src/github.com/mackerelio/mackerel-agent/commands.go:33 +0xdc
github.com/motemen/go-cli.(*App).Dispatch(0x3d46a0, 0x1070a138, 0x1, 0x1, 0x0, 0x1)
/home/travis/gopath/src/github.com/motemen/go-cli/cli.go:97 +0x178
github.com/motemen/go-cli.(*App).Run(0x3d46a0, 0x1070a138, 0x1, 0x1)
/home/travis/gopath/src/github.com/motemen/go-cli/cli.go:110 +0x34
github.com/motemen/go-cli.Run(0x1070a138, 0x1, 0x1)
/home/travis/gopath/src/github.com/motemen/go-cli/cli.go:60 +0x38
main.main()
/home/travis/gopath/src/github.com/mackerelio/mackerel-agent/main.go:46 +0x84
[1]+ Exit 2 /opt/mackerel-agent_linux_arm/mackerel-agent --conf=/opt/mackerel-agent_linux_arm/mackerel-agent.conf
root@lcpi:~#