Skip to content
No description or website provided.
Find file
Latest commit 04c8dd7 @bryanwb deprecate the cookbook
Failed to load latest commit information.
recipes included_recipe ark to make it install unzip first
templates/default chdir to /etc in init.d script for correct execution outside /etc
test Adding support for Travis CI
.travis.yml Adding support for Travis CI deprecate the cookbook
Rakefile Adding support for Travis CI
metadata.rb remove logrotate dependency as it conflicts w/ log4j

chef-jmxtransBuild Status


JMXTrans is effecively unmaintained and for that reason so is this cookbook. Use the wonderful Generic JMX plugin for collectd instead.


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


Depends on the ark cookbook


  • node['jmxtrans']['graphite']['host'] - defaults to 'graphite'
  • node['jmxtrans']['graphite']['port'] - default to 2003
  • node['jmxtrans']['servers'] - array of servers to query for jmx data along with the properties needed to access each one
  • node['jmxtrans']['root_prefix'] - root prefix for the graphite buckets, defaults to "jmx"


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' => '',
        'port' => "8999",
        'type' => 'tomcat',
        'username' => 'foobar',
        'password' => 'rw'
        'name' => '',
        'port' => "8999",
        'type' => 'tomcat',
        'username' => 'foobar',
        'password' => 'baz'


Bryan W. Berry, Copyright 2012, Apache 2.0 license

Something went wrong with that request. Please try again.