Puppet Class: collectd::plugin::tcpconns

Defined in:
manifests/plugin/tcpconns.pp

Overview

Parameters:

  • localports (Optional[Array[Stdlib::Port]]) (defaults to: undef)
  • remoteports (Optional[Array[Stdlib::Port]]) (defaults to: undef)
  • listening (Any) (defaults to: undef)
  • interval (Any) (defaults to: undef)
  • allportssummary (Optional[Boolean]) (defaults to: undef)
  • ensure (Any) (defaults to: 'present')


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

class collectd::plugin::tcpconns (
  Optional[Array[Stdlib::Port]] $localports  = undef,
  Optional[Array[Stdlib::Port]] $remoteports = undef,
  $listening                         = undef,
  $interval                          = undef,
  Optional[Boolean] $allportssummary = undef,
  $ensure                            = 'present'
) {
  include collectd

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