mackerel-plugin-mogilefs

MogileFS custom metrics plugin for mackerel.io agent.

MIT License

Stars
3

mackerel-plugin-mogilefs Build Status

MogileFS custom metrics plugin for mackerel.io agent.

Inspired by mogilefsd_activity and mogilefsd_queries

Synopsis

mackerel-plugin-mogilefs [-host=<host>] [-port=<port>] [-tempfile=<tempfile>] [-version]
$ ./mackerel-plugin-mogilefs -h
Options:

  -H, -host=127.0.0.1                             Host of mogilefsd

  -p, -port=7001                                  Port of mogilefsd

  -t, -tempfile=/tmp/mackerel-plugin-mogilefs     Temp file name

  -v, -version=false                              Print version information and quit.

Example of mackerel-agent.conf

[plugin.metrics.mogilefs]
command = "/path/to/mackerel-plugin-mogilefs"