chef-jmxtrans![Build Status](https://camo.githubusercontent.com/20af80dfe23e1edf4bdb77224dd817b5f67418c9726daf2b3ea406b4d0d28e41/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f627279616e77622f636865662d6a6d787472616e732e706e673f6272616e63683d6d6173746572)
Description
I am the jmxtrans cookbook!
jmxtrans is an excellent tool for transporting jmx data from your VMs and into a graphing tool like graphite or ganglia. This cookbook only supports writing to graphite but could be easily modified to work with ganglia
Requirements
Depends on the ark cookbook
Attributes
node['jmxtrans']['graphite']['host']
- defaults to 'graphite'node['jmxtrans']['graphite']['port']
- default to 2003node['jmxtrans']['servers']
- array of servers to query for jmx data along with the properties needed to access each onenode['jmxtrans']['root_prefix']
- root prefix for the graphite buckets, defaults to "jmx"
Usage
You must override the attribute node['jmxtrans']['servers']
with the
list of servers you want monitored and their respective properties
the following example comes from a role
:jmxtrans => {
:servers =>[
{
'name' => 'foo1.example.org',
'port' => "8999",
'type' => 'tomcat',
'username' => 'foobar',
'password' => 'rw'
},
{
'name' => 'foo2.example.org',
'port' => "8999",
'type' => 'tomcat',
'username' => 'foobar',
'password' => 'baz'
}
]
}
Author
Bryan W. Berry, Copyright 2012, Apache 2.0 license