Puppet Class: collectd::plugin::write_tsdb

Defined in:
manifests/plugin/write_tsdb.pp

Overview

Parameters:

  • ensure (Any) (defaults to: present)
  • globals (Boolean) (defaults to: false)
  • host (Stdlib::Host) (defaults to: 'localhost')
  • port (Stdlib::Port) (defaults to: 4242)
  • host_tags (Array) (defaults to: [])
  • store_rates (Boolean) (defaults to: false)
  • always_append_ds (Boolean) (defaults to: false)


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

class collectd::plugin::write_tsdb (
  $ensure                   = present,
  Boolean $globals          = false,
  Stdlib::Host $host        = 'localhost',
  Stdlib::Port $port        = 4242,
  Array $host_tags          = [],
  Boolean $store_rates      = false,
  Boolean $always_append_ds = false,
) {
  include collectd

  collectd::plugin { 'write_tsdb':
    ensure  => $collectd::plugin::write_tsdb::ensure,
    content => template('collectd/plugin/write_tsdb.conf.erb'),
  }
}