Home

Awesome

go-check-plugins

Check Plugins for monitoring written in golang.

Documentation for each plugin is located in its respective sub directory.

Specification

The specs for the check plugins are mostly the same as the plugins for Nagios and Sensu. The exit status of the commands are treated as follows.

exit statusmeaning
0OK
1WARNING
2CRITICAL
other than 0, 1, or 2UNKNOWN

Installation

Install the plugin package from either the yum or the apt repository. To setup these package repositories, see the documentation regarding the installation of mackerel-agent (rpm / deb).

mackerel-check-plugins will be installed to /usr/bin/check-*.

yum

yum install mackerel-check-plugins

apt

apt-get install mackerel-check-plugins

Use check plugins in Mackerel

See the following documentation.

English: https://mackerel.io/docs/entry/custom-checks

Japanese: https://mackerel.io/ja/docs/entry/custom-checks

Contribution