0.0.3 • Published 7 years ago

mackerel-supervisor v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

mackerel-supervisor

monitoring supervisor status. If the status is not 'RUNNING', this module return exit(1) for sending alert to mackerel.

INSTALL

  1. you must install mackerel-check-plugins

rpm packege

$ yum install mackerel-check-plugins

or deb package

$ apt-get install mackerel-check-plugins

cf) mackerel-check-plugins

  1. you can install this module.
$ npm install mackerel-supervisor

SETTING EXAMPLE

You write this config to /etc/mackerel-agent/mackerel-agent.conf, and restart mackerel-agent. (you must change file path)

[plugin.checks.supervisord_running]
command = "/path/to/node_modules/.bin/monitor-supervisor"
$ sudo service mackerel-agent configtest
$ sudo service mackerel-agent restart