Classes
Public Classes
metricbeat
: Main class, includes all other classes
Private Classes
metricbeat::config
: This class handles the configuration file.metricbeat::package
: This class handles metricbeat package.metricbeat::service
: This class handles the metricbeat service.
Defined types
metricbeat::module
: This defined type creates a new metricbeat module.
metricbeat
The following parameters are available in the metricbeat
class.
Data type: String
Name of the metricbeat package. Dfault value: 'metricbeat'.
Data type: String
State of package (e.g. present oder latest). Default value: 'present'.
Data type: Optional[String]
Optional package provider for the package. Default value: Undef.
Data type: Optional[String]
Optional package source for the package. Default value: Undef.
Data type: String
Name of the metricbeat service. Default value: 'metricbeat'.
Data type: Optional[String]
Whether the metricbeat service should be running. Default value: 'running'.
Data type: Optional[Boolean]
Whether the metricbeat service should be enabled. Default value: true.
Data type: String
Path to the environment file for systemd. Default value: '/etc/sysconfig/metricbeat'.
Data type: Optional[Hash]
An hash with enabled modules for metricbeat. Default value: {}.
Data type: Optional[Hash]
An hash with the main and output configuration. Default value: {}.
Data type: Optional[Hash]
An array with environment variables, wich will be written to the environment_file. Default value: [].
This defined type creates a new metricbeat module.
The following parameters are available in the metricbeat::module
defined type.
Data type: Array
An array with module configurations.