Puppet Class: packetbeat

Inherited by:
packetbeat::config
Defined in:
manifests/init.pp

Overview

Class: packetbeat

Module to deploy PacketBeat

Parameters

Variables

Examples

class { packetbeat:
}

Authors

GPLv2

Parameters:

  • agentname (Any) (defaults to: $::fqdn)
  • tags (Any) (defaults to: [])
  • ensure (Any) (defaults to: 'running')
  • enable (Any) (defaults to: true)
  • uid (Any) (defaults to: '501')
  • gid (Any) (defaults to: '501')
  • disable_procs (Any) (defaults to: true)
  • refresh_topology_freq (Any) (defaults to: '10')
  • topology_expire (Any) (defaults to: '15')
  • ignore_outgoing (Any) (defaults to: false)
  • interfaces (Any) (defaults to: 'any')
  • int_snaplen (Any) (defaults to: undef)
  • int_sniffer_type (Any) (defaults to: undef)
  • int_buffer_size (Any) (defaults to: undef)
  • es_enabled (Any) (defaults to: true)
  • es_host (Any) (defaults to: 'localhost')
  • es_port (Any) (defaults to: '9200')
  • es_username (Any) (defaults to: undef)
  • es_password (Any) (defaults to: undef)
  • es_protocol (Any) (defaults to: undef)
  • es_save_topology (Any) (defaults to: false)
  • es_index (Any) (defaults to: undef)
  • es_http_path (Any) (defaults to: undef)
  • redis_enabled (Any) (defaults to: false)
  • redis_host (Any) (defaults to: 'localhost')
  • redis_port (Any) (defaults to: '6379')
  • redis_reconnect_interval (Any) (defaults to: undef)
  • redis_save_topology (Any) (defaults to: false)
  • redis_db_topology (Any) (defaults to: '1')
  • redis_password (Any) (defaults to: '')
  • redis_timeout (Any) (defaults to: '5')
  • redis_index (Any) (defaults to: 'packetbeat')
  • redis_db (Any) (defaults to: '0')
  • file_enabled (Any) (defaults to: false)
  • file_path (Any) (defaults to: '/var/log/')


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'manifests/init.pp', line 23

class packetbeat (
  $agentname                = $::fqdn ,
  $tags                     = [],
  $ensure                   = 'running',
  $enable                   = true,
  $uid                      = '501',
  $gid                      = '501',
  $disable_procs            = true,
  $refresh_topology_freq    = '10',
  $topology_expire          = '15',
  $ignore_outgoing          = false,
  $interfaces               = 'any',
  $int_snaplen              = undef,
  $int_sniffer_type         = undef,
  $int_buffer_size          = undef,
  $es_enabled               = true,
  $es_host                  = 'localhost',
  $es_port                  = '9200',
  $es_username              = undef,
  $es_password              = undef,
  $es_protocol              = undef,
  $es_save_topology         = false,
  $es_index                 = undef,
  $es_http_path             = undef,
  $redis_enabled            = false,
  $redis_host               = 'localhost',
  $redis_port               = '6379',
  $redis_reconnect_interval = undef,
  $redis_save_topology      = false,
  $redis_db_topology        = '1',
  $redis_password           = '',
  $redis_timeout            = '5',
  $redis_index              = 'packetbeat',
  $redis_db                 = '0',
  $file_enabled             = false,
  $file_path                = '/var/log/'
) {
  include packetbeat::package, packetbeat::config, packetbeat::service
  Class['packetbeat::package'] -> Class['packetbeat::config'] ~> Class['packetbeat::service']
}