mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Updated documentation and changelog for new version
This commit is contained in:
@ -5,6 +5,11 @@ Below an overview of all changes in the releases.
|
||||
|
||||
Version (Release date)
|
||||
|
||||
0.3.0 (2016-01-13)
|
||||
|
||||
* Made it work with telegraf 0.10.0
|
||||
* Default installation: 0.10.0
|
||||
|
||||
0.2.0 (2015-11-14)
|
||||
|
||||
* Fixed kitchen test setup
|
||||
|
@ -19,10 +19,12 @@ Role Variables
|
||||
|
||||
The following parameters can be set for the Telegraf agent:
|
||||
|
||||
* `telegraf_agent_version`: The version of Telegraf to install. Default: `0.2.0`
|
||||
* `telegraf_agent_version`: The version of Telegraf to install. Default: `0.10.0`
|
||||
* `telegraf_agent_interval`: The interval configured for sending data to the server. Default: `10`
|
||||
* `telegraf_agent_debug`: Setting the Telegraf in debug mode. Default: `False`
|
||||
|
||||
* `telegraf_agent_round_interval`: Rounds collection interval to 'interval' Default: True
|
||||
* `telegraf_agent_flush_interval`: Default data flushing interval for all outputs. Default: 10
|
||||
* `telegraf_agent_flush_jitter`: Jitter the flush interval by a random amount. Default: 0
|
||||
|
||||
You can set tags for the host running telegraf:
|
||||
|
||||
@ -35,7 +37,7 @@ Specifying an output. The default is set to localhost, you'll have to specify th
|
||||
telegraf_agent_output:
|
||||
- type: influxdb
|
||||
config:
|
||||
- url = "http://localhost:8086"
|
||||
- urls = ["http://localhost:8086"]
|
||||
- database = "telegraf"
|
||||
|
||||
The config will be printed line by line into the configuration, so you could also use:
|
||||
|
@ -2,7 +2,7 @@
|
||||
# defaults file for ansible-telegraf
|
||||
|
||||
telegraf_agent_version: 0.10.0
|
||||
telegraf_agent_interval: 60
|
||||
telegraf_agent_interval: 10
|
||||
telegraf_agent_debug: False
|
||||
telegraf_agent_round_interval: True
|
||||
telegraf_agent_flush_interval: 10
|
||||
|
Reference in New Issue
Block a user