Check Plugins for monitoring written in golang
Latest commit 4b75af6 Sep 13, 2018
Permalink
Failed to load latest commit information.
check-aws-sqs-queue-size Apply tool/packagize.pl Mar 3, 2017
check-cert-file fix duplicated output of usage with --help argument Apr 18, 2018
check-disk fix typo faild -> failed Jan 26, 2018
check-elasticsearch Fix typo: respons -> response Jan 23, 2018
check-file-age Apply tool/packagize.pl Mar 3, 2017
check-file-size Apply tool/packagize.pl Mar 3, 2017
check-http [check-http] Use variable Sep 6, 2018
check-jmx-jolokia Apply tool/packagize.pl Mar 3, 2017
check-ldap fix image tag Mar 23, 2018
check-load Apply tool/packagize.pl Mar 3, 2017
check-log remove unused code Sep 12, 2018
check-mailq Apply tool/packagize.pl Mar 3, 2017
check-masterha Fix import Mar 30, 2017
check-memcached fix typo faild -> failed Jan 26, 2018
check-mysql Fixed omission for check-mysql/README. May 25, 2018
check-ntpoffset add comment Jun 5, 2018
check-ntservice add test for non-Windows OSs Mar 26, 2017
check-postgresql update check-postgresql for setting password via environment variable Jan 19, 2018
check-procs fix duplicated output of usage with --help argument Apr 18, 2018
check-redis Apply tool/packagize.pl Mar 3, 2017
check-smtp Omit unnecessary else Aug 28, 2018
check-solr Apply tool/packagize.pl Mar 3, 2017
check-ssh update check-ssh for setting password via environment variable Jan 19, 2018
check-ssl-cert add README.md Jun 7, 2018
check-tcp arrange indent Jan 25, 2018
check-uptime fix typo faild -> failed Jan 26, 2018
check-windows-eventlog plugin can be run by itself Jul 6, 2018
packaging ready for next release and update changelogs. version: 0.22.1 Sep 13, 2018
t separate test code from create-release-pullrequest to t/plugins.t May 28, 2017
tool Update Mackerel::ReleaseUtils to check git workspace is clean Sep 5, 2017
.gitignore add plugin executables pattern in .gitignore so that we don't mistake… Jul 28, 2017
.travis.yml Use go 1.11 in CI Sep 10, 2018
CHANGELOG.md ready for next release and update changelogs. version: 0.22.1 Sep 13, 2018
LICENSE add LICENSE Sep 23, 2015
Makefile ready for next release and update changelogs. version: 0.22.1 Sep 13, 2018
README.md ready for next release and update changelogs. version: 0.22.0 Aug 30, 2018
appveyor.yml GOROOT is not c:\go anymore Sep 10, 2018
circle.yml adjust dependencies Nov 22, 2016
mackerel-check.go ready for next release and update changelogs. version: 0.22.1 Sep 13, 2018
mackerel-check_gen.go go generate Aug 28, 2018

README.md

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 status meaning
0 OK
1 WARNING
2 CRITICAL
other than 0, 1, or 2 UNKNOWN

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/local/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

  • fork it
  • develop the plugin you want
  • create a pull request!