No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib bump to 0.1.0 Aug 9, 2018
.gitignore prepare for version 0.0.1 Nov 2, 2016
CHANGELOG.md
Gemfile initial commit Nov 18, 2015
LICENSE.txt initial commit Nov 18, 2015
README.md Change attribute name Aug 9, 2018
RELEASE.md add RELEASE.md Mar 13, 2018
Rakefile
itamae-plugin-recipe-mackerel-agent.gemspec Set metadata gemspec.homepage to github repository Dec 4, 2017

README.md

Itamae::Plugin::Recipe::Mackerel::Agent

Gem Version

Itamae recipe plugin for mackerel-agent

Installation

Add this line to your application's Gemfile:

gem 'itamae-plugin-recipe-mackerel-agent'

And then execute:

$ bundle

Or install it yourself as:

$ gem install itamae-plugin-recipe-mackerel-agent

Usage

Load the recipe file in gems by include_recipe.

include_recipe "mackerel-agent"

Attributes

# API key (REQUIRED)
node['mackerel-agent']['conf']['apikey'] = 'YOUR API KEY'

# Roles (optional)
node['mackerel-agent']['conf']['roles'] = ["My-Service:app", "Another-Service:db"]

# Install official plugins (optional)
node['mackerel-agent']['plugins'] = ['mackerel-agent-plugins', 'mackerel-check-plugins', 'mkr']

# Install third party plugins (optional)
node['mackerel-agent']['extra_plugins'] = [
  {
    'name' => 'mackerelio/mackerel-plugin-aws-ecs',
    'version' => 'v0.0.4'
  }
]

# Enable plugins (optional)
node['mackerel-agent']['conf']['plugin.metrics.vmstat'] = {
  'command' => 'ruby /etc/sensu/plugins/system/vmstat-metrics.rb',
}

Contributing

  1. Fork it ( https://github.com/mackerelio/itamae-plugin-recipe-mackerel-agent/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request