No commit activity in last 3 years
No release in over 3 years
Itamae mackerel-agent recipe plugin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

~> 0.1.2
 Project Readme

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