Defined Type: collectd::plugin::genericjmx::mbean

Defined in:
manifests/plugin/genericjmx/mbean.pp

Overview

Parameters:

  • object_name (String)
  • values (Array)
  • instance_prefix (Optional[String]) (defaults to: undef)
  • instance_from (Array) (defaults to: [])


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/plugin/genericjmx/mbean.pp', line 2

define collectd::plugin::genericjmx::mbean (
  String $object_name,
  Array $values,
  Optional[String] $instance_prefix = undef,
  Array $instance_from              = [],
) {
  include collectd
  include collectd::plugin::genericjmx

  concat::fragment { "collectd_plugin_genericjmx_conf_${name}":
    order   => '10',
    content => template('collectd/plugin/genericjmx/mbean.conf.erb'),
    target  => $collectd::plugin::genericjmx::config_file,
  }
}