Puppet Class: collectd::plugin::ethstat

Defined in:
manifests/plugin/ethstat.pp

Overview

Parameters:

  • ensure (Any) (defaults to: 'present')
  • interfaces (Array) (defaults to: [])
  • maps (Array) (defaults to: [])
  • mappedonly (Any) (defaults to: false)
  • interval (Any) (defaults to: undef)


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

class collectd::plugin::ethstat (
  $ensure           = 'present',
  Array $interfaces = [],
  Array $maps       = [],
  $mappedonly       = false,
  $interval         = undef,
) {
  include collectd

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