Skip to content

Latest commit

 

History

History
138 lines (111 loc) · 6.86 KB

README.md

File metadata and controls

138 lines (111 loc) · 6.86 KB

mackerel-agent-plugins Build Status

This is the official plugin pack for mackerel-agent, a piece of software which is installed on your hosts to collect metrics and events and send them to Mackerel.

Detailed specs of plugins can be viewed here: ENG mackerel-agent specifications, JPN mackerel-agent 仕様.

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

Installation

Install mackerel-agent

ENG https://mackerel.io/docs/entry/howto/install-agent JPN https://mackerel.io/ja/docs/entry/howto/install-agent

If the mackerel-agent has already be installed this step can be ignored.

Install mackerel-agent-plugins

Install the plugin pack 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-agent-plugins will be installed to /usr/bin/mackerel-plugin-* (and some plugins are symlinked as /usr/local/bin/mackerel-plugin-*, for backward compatibility.).

yum

yum install mackerel-agent-plugins

apt

apt-get install mackerel-agent-plugins

Go

mackerel-agent-plugins supports two newer versions of Go.

go install github.com/mackerelio/mackerel-agent-plugins/...@latest

Caution

Some plugins may not work on CentOS/RedHat 5 because the golang compiler (gc) doesn't support the old kernel. (https://golang.org/doc/install)

Some plugins are not contained in rpm and deb packages. If you want to use them, build them.

Contribution

License

Copyright 2014 Hatena Co., Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.