Defined Type: collectd::plugin::write_graphite::carbon
- Defined in:
- manifests/plugin/write_graphite/carbon.pp
Overview
a single graphite backend
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/plugin/write_graphite/carbon.pp', line 2
define collectd::plugin::write_graphite::carbon (
$ensure = 'present',
Stdlib::Host $graphitehost = 'localhost',
Stdlib::Port $graphiteport = 2003,
Boolean $storerates = true,
$graphiteprefix = 'collectd.',
$graphitepostfix = undef,
$interval = undef,
$escapecharacter = '_',
Boolean $alwaysappendds = false,
$protocol = 'tcp',
Boolean $separateinstances = false,
Boolean $logsenderrors = true,
Integer $reconnectinterval = 0,
Boolean $reversehost = false,
) {
include collectd
include collectd::plugin::write_graphite
concat::fragment { "collectd_plugin_write_graphite_conf_${title}_${protocol}_${graphiteport}":
order => '50', # somewhere between header and footer
target => $collectd::plugin::write_graphite::graphite_conf,
content => template('collectd/plugin/write_graphite/carbon.conf.erb'),
}
}
|