Puppet Class: beats::protocols::mysql

Defined in:
manifests/protocols/mysql.pp

Overview

Mysql

Parameters:

  • protocol (Any) (defaults to: $beats::packetbeat::config::mysql_protocol)
  • ports (Any) (defaults to: $beats::packetbeat::config::mysql_ports)
  • max_rows (Any) (defaults to: $beats::packetbeat::config::mysql_max_rows)
  • max_row_length (Any) (defaults to: $beats::packetbeat::config::mysql_max_row_length)


2
3
4
5
6
7
8
9
10
11
12
13
# File 'manifests/protocols/mysql.pp', line 2

class beats::protocols::mysql (
  $protocol       = $beats::packetbeat::config::mysql_protocol,
  $ports          = $beats::packetbeat::config::mysql_ports,
  $max_rows       = $beats::packetbeat::config::mysql_max_rows,
  $max_row_length = $beats::packetbeat::config::mysql_max_row_length
) {
  concat::fragment {'protocols-mysql':
    target  => '/etc/packetbeat/packetbeat.yml',
    content => template('beats/protocols/protocols.database.erb'),
    order   => 12,
  }
}