2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# File 'manifests/plugin/write_graphite.pp', line 2
class collectd::plugin::write_graphite (
$ensure = present,
$graphitehost = 'localhost',
$graphiteport = 2003,
$storerates = true,
$graphiteprefix = 'collectd.',
$graphitepostfix = undef,
$interval = undef,
$escapecharacter = '_',
$alwaysappendds = false,
$protocol = 'tcp',
$separateinstances = false,
$logsenderrors = true,
) {
validate_bool($storerates)
validate_bool($separateinstances)
validate_bool($logsenderrors)
collectd::plugin {'write_graphite':
ensure => $ensure,
content => template('collectd/plugin/write_graphite.conf.erb'),
interval => $interval,
}
}
|