Puppet Class: collectd::plugin::df

Defined in:
manifests/plugin/df.pp

Overview

Parameters:

  • ensure (Any) (defaults to: 'present')
  • devices (Array) (defaults to: [])
  • fstypes (Array) (defaults to: [])
  • ignoreselected (Boolean) (defaults to: false)
  • interval (Any) (defaults to: undef)
  • mountpoints (Array) (defaults to: [])
  • reportbydevice (Boolean) (defaults to: false)
  • reportinodes (Boolean) (defaults to: true)
  • reportreserved (Boolean) (defaults to: true)
  • valuesabsolute (Boolean) (defaults to: true)
  • valuespercentage (Boolean) (defaults to: false)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/plugin/df.pp', line 2

class collectd::plugin::df (
  $ensure                   = 'present',
  Array $devices            = [],
  Array $fstypes            = [],
  Boolean $ignoreselected   = false,
  $interval                 = undef,
  Array $mountpoints        = [],
  Boolean $reportbydevice   = false,
  Boolean $reportinodes     = true,
  Boolean $reportreserved   = true,
  Boolean $valuesabsolute   = true,
  Boolean $valuespercentage = false,
) {
  include collectd

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