Skip to content

MogileFS custom metrics plugin for mackerel.io agent.

License

Notifications You must be signed in to change notification settings

hfm/mackerel-plugin-mogilefs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"