telegraf
: A Puppet module for installing InfluxData's Telegraftelegraf::config
: == Class: telegraf::config Templated generation of telegraf.conftelegraf::install
: == Class: telegraf::install Conditionally handle InfluxData's official repos and install the necessary Telegraf package.telegraf::params
: == Class: telegraf::params A set of default parameters for Telegraf's configuration.telegraf::service
: == Class: telegraf::service Optionally manage the Telegraf service.
telegraf::aggregator
: A Puppet wrapper for discrete Telegraf aggregator filestelegraf::input
: A Puppet wrapper for discrete Telegraf input filestelegraf::output
: A Puppet wrapper for discrete Telegraf output filestelegraf::processor
: A Puppet wrapper for discrete Telegraf processor files
A Puppet module for installing InfluxData's Telegraf
The following parameters are available in the telegraf
class:
package_name
ensure
config_file
logfile
logfile_rotation_interval
logfile_rotation_max_size
logfile_rotation_max_archives
config_file_owner
config_file_group
config_file_mode
config_folder
config_folder_mode
hostname
omit_hostname
interval
round_interval
metric_batch_size
metric_buffer_limit
collection_jitter
flush_interval
flush_jitter
debug
quiet
outputs
inputs
global_tags
processors
manage_service
manage_repo
manage_archive
manage_user
repo_location
archive_location
archive_version
archive_install_dir
install_options
purge_config_fragments
repo_type
windows_package_url
precision
service_enable
service_ensure
Data type: String
Package name
Default value: $telegraf::params::package_name
Data type: String
State of the telegraf package. You can also specify a particular version to install
Default value: $telegraf::params::ensure
Data type: String
Path to the configuration file
Default value: $telegraf::params::config_file
Data type: String
Path to the log file
Default value: $telegraf::params::logfile
Data type: String
The logfile will be rotated after the time interval specified, e.g. "1d". 0 = off. Default = "0h"
Default value: $telegraf::params::logfile_rotation_interval
Data type: String
The logfile will be rotated when it becomes larger than the specified size, e.g. "10MB". 0 = off. Default = "0MB"
Default value: $telegraf::params::logfile_rotation_max_size
Data type: Integer
Maximum number of rotated archives to keep, older logs are deleted. If set to -1, no archives are removed. Default = 5
Default value: $telegraf::params::logfile_rotation_max_archives
Data type: String
User to own the telegraf config file
Default value: $telegraf::params::config_file_owner
Data type: String
Group to own the telegraf config file
Default value: $telegraf::params::config_file_group
Data type: Optional[Stdlib::Filemode]
File mode for the telegraf config file
Default value: $telegraf::params::config_file_mode
Data type: String
Path of additional telegraf config folder
Default value: $telegraf::params::config_folder
Data type: Optional[Stdlib::Filemode]
File mode for the telegraf config folder
Default value: $telegraf::params::config_folder_mode
Data type: String
Override default hostname used to identify this agent
Default value: $telegraf::params::hostname
Data type: Boolean
Do not set the "host" tag in the telegraf agent
Default value: $telegraf::params::omit_hostname
Data type: String
Default data collection interval for all inputs
Default value: $telegraf::params::interval
Data type: Boolean
Rounds collection interval to 'interval'
Default value: $telegraf::params::round_interval
Data type: Integer
The maximum batch size to allow to accumulate before sending a flush to the configured outputs
Default value: $telegraf::params::metric_batch_size
Data type: Integer
The absolute maximum number of metrics that will accumulate before metrics are dropped
Default value: $telegraf::params::metric_buffer_limit
Data type: String
Sleep for a random time within jitter before collecting
Default value: $telegraf::params::collection_jitter
Data type: String
Default flushing interval for all outputs
Default value: $telegraf::params::flush_interval
Data type: String
Jitter the flush interval by an amount
Default value: $telegraf::params::flush_jitter
Data type: Boolean
Run telegraf in debug mode
Default value: $telegraf::params::debug
Data type: Boolean
Run telegraf in quiet mode
Default value: $telegraf::params::quiet
Data type: Hash
Specify output plugins and their options
Default value: $telegraf::params::outputs
Data type: Hash
Specify input plugins and their options
Default value: $telegraf::params::inputs
Data type: Hash
Global tags as a key-value pair
Default value: $telegraf::params::global_tags
Data type: Hash
Specify processors and their configuration
Default value: {}
Data type: Boolean
Whether to manage the telegraf service or not
Default value: $telegraf::params::manage_service
Data type: Boolean
Whether or not to manage InfluxData's repo
Default value: $telegraf::params::manage_repo
Data type: Boolean
Whether or not to manage InfluxData's tar archive
Default value: $telegraf::params::manage_archive
Data type: Boolean
Whether or not to manage the 'telegraf' user when installing from archive
Default value: $telegraf::params::manage_user
Data type: Optional[String]
Alternate repo location. E.g. an interal mirror
Default value: $telegraf::params::repo_location
Data type: Optional[String]
Alternate archive location. E.g. an interal mirror
Default value: $telegraf::params::archive_location
Data type: Optional[String[1]]
Specify a telegraf archive version. E.g. 1.17.2
Default value: $telegraf::params::archive_version
Data type: Optional[String]
Location to extract archive to must be an absolute path
Default value: $telegraf::params::archive_install_dir
Data type: Array
Additional options to pass when installing package
Default value: $telegraf::params::install_options
Data type: Boolean
Whether unmanaged configuration fragments should be removed
Default value: $telegraf::params::purge_config_fragments
Data type: String
Which repo (stable, unstable, nightly) to use
Default value: $telegraf::params::repo_type
Data type: String
URL for windows telegraf chocolatey repo
Default value: $telegraf::params::windows_package_url
Data type: String
Default value: $telegraf::params::precision
Data type: Boolean
enable state for the telegraf service
Default value: $telegraf::params::service_enable
Data type: String
ensure state for the telegraf service
Default value: $telegraf::params::service_ensure
== Class: telegraf::config
Templated generation of telegraf.conf
== Class: telegraf::install
Conditionally handle InfluxData's official repos and install the necessary Telegraf package.
== Class: telegraf::params
A set of default parameters for Telegraf's configuration.
== Class: telegraf::service
Optionally manage the Telegraf service.
A Puppet wrapper for discrete Telegraf aggregator files
The following parameters are available in the telegraf::aggregator
defined type:
Data type: Optional[Array]
Plugin options for use in the aggregator template
Default value: undef
Data type: String
Define the telegraf plugin type to use
Default value: $name
Data type: Enum['present', 'absent']
Set if the ensure params of the config file. If telegraf::ensure is absent the value is automatically absent
Default value: 'present'
A Puppet wrapper for discrete Telegraf input files
The following parameters are available in the telegraf::input
defined type:
Data type: Array
Plugin options for use in the input template.
Default value: []
Data type: String
Define the telegraf plugin type to use (default is $name)
Default value: $name
Data type: Enum['present', 'absent']
Set if the ensure params of the config file. If telegraf::ensure is absent the value is automatically absent
Default value: 'present'
A Puppet wrapper for discrete Telegraf output files
The following parameters are available in the telegraf::output
defined type:
Data type: Optional[Array]
Plugin options for use in the output template.
Default value: undef
Data type: String
Define the telegraf plugin type to use (default is $name)
Default value: $name
Data type: Enum['present', 'absent']
Set if the ensure params of the config file. If telegraf::ensure is absent the value is automatically absent
Default value: 'present'
A Puppet wrapper for discrete Telegraf processor files
The following parameters are available in the telegraf::processor
defined type:
Data type: Optional[Array]
Plugin options for use in the processor template
Default value: undef
Data type: String
Define the telegraf plugin type to use
Default value: $name
Data type: Enum['present', 'absent']
Set if the ensure params of the config file. If telegraf::ensure is absent the value is automatically absent
Default value: 'present'