alechenninger / puppet-jmxtrans-agent

Installs and configures a java jmxtrans-agent for publishing JMX metrics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

puppet-jmxtrans-agent

Installs and configures the jmxtrans-agent.

usage

class profiles::my_java_app(
  $graphite_host,
) {
  class { 'jmxtrans_agent':
    wait_for_custom_mbean_server => true,
    graphite_host                => $graphite_host,
    graphite_name_prefix         => 'my_java_app.#reversed_hostname#.',
    owner                        => 'appuser',
    group                        => 'appuser'
  } ->
  class { 'my_java_app':
    jvm_args => $jmxtrans_agent::jvm_arguments
  }
}

About

Installs and configures a java jmxtrans-agent for publishing JMX metrics.


Languages

Language:HTML 67.5%Language:Puppet 32.5%