mackerel-agent Cookbook
This cookbook provides recipes to install and configure mackerel-agent. mackerel-agent is a server monitoring agent for https://mackerel.io.
Requirements
- Chef 11 or higher
- Ruby 2.0 or higher
SYNPOSIS
node.default['mackerel-agent']['apikey'] = 'Your API KEY'
include_recipe 'mackerel-agent'
Attributes
The following attributes are set by default.
default['mackerel-agent']['apikey'] = "YOUR APIKEY"
default['mackerel-agent']['pidfile'] = "/path/to/pidfile"
default['mackerel-agent']['root'] = "/var/lib/mackerel-agent"
default['mackerel-agent']['verbose'] = false
default['mackerel-agent']['roles'] = ["My-Service:app", "Another-Service:db"]
default['mackerel-agent']['plugin.metrics.vmstat'] = {
'command' => 'ruby /etc/sensu/plugins/system/vmstat-metrics.rb',
'type' => 'metric'
}
Development
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.