forked from FF-RGB/ansible
86 lines
2.0 KiB
YAML
86 lines
2.0 KiB
YAML
---
|
|
# Channel of Telegraf to install
|
|
telegraf_install_version: stable
|
|
|
|
# The user and group telegraf should run under (should be set to telegraf unless needed otherwise)
|
|
telegraf_runas_user: telegraf
|
|
telegraf_runas_group: telegraf
|
|
|
|
# Configuration Template
|
|
telegraf_configuration_template: telegraf.conf.j2
|
|
|
|
# Configuration Variables
|
|
telegraf_tags:
|
|
telegraf_aws_tags: false
|
|
telegraf_aws_tags_prefix:
|
|
|
|
telegraf_agent_interval: 10s
|
|
telegraf_round_interval: "true"
|
|
telegraf_metric_batch_size: "1000"
|
|
telegraf_metric_buffer_limit: "10000"
|
|
|
|
telegraf_collection_jitter: 0s
|
|
telegraf_flush_interval: 10s
|
|
telegraf_flush_jitter: 0s
|
|
telegraf_debug: "false"
|
|
telegraf_quiet: "false"
|
|
telegraf_hostname:
|
|
telegraf_omit_hostname: "false"
|
|
telegraf_install_url:
|
|
|
|
|
|
telegraf_influxdb_url: http://stats.regensburg.freifunk.net:8086
|
|
telegraf_influxdb_database: telegraf
|
|
telegraf_influxdb_precision: s
|
|
telegraf_influxdb_retention_policy: autogen
|
|
telegraf_influxdb_write_consistency: any
|
|
telegraf_influxdb_ssl_ca:
|
|
telegraf_influxdb_ssl_cert:
|
|
telegraf_influxdb_ssl_key:
|
|
telegraf_influxdb_insecure_skip_verify:
|
|
|
|
telegraf_influxdb_timeout: 5s
|
|
telegraf_influxdb_username: telegraf
|
|
telegraf_influxdb_password:
|
|
telegraf_influxdb_user_agent:
|
|
telegraf_influxdb_udp_payload:
|
|
|
|
telegraf_plugins_base:
|
|
- name: swap
|
|
- name: processes
|
|
- name: kernel
|
|
- name: netstat
|
|
- name: mem
|
|
- name: system
|
|
- name: cpu
|
|
options:
|
|
percpu: "true"
|
|
totalcpu: "true"
|
|
collect_cpu_time: "false"
|
|
report_active: "false"
|
|
fielddrop:
|
|
- "time_*"
|
|
- name: disk
|
|
options:
|
|
mountpoints:
|
|
- "/"
|
|
ignore_fs:
|
|
- "tmpfs"
|
|
- "devtmpfs"
|
|
- "devfs"
|
|
- name: diskio
|
|
options:
|
|
skip_serial_number: "true"
|
|
- name: procstat
|
|
options:
|
|
exe: "influxd"
|
|
prefix: "influxdb"
|
|
- name: net
|
|
options:
|
|
interfaces:
|
|
- "eth0"
|
|
|
|
telegraf_plugins: "{{ telegraf_plugins_base }} + {{ telegraf_plugins_extra | default([]) }}"
|
|
|
|
telegraf_influxdata_base_url: "https://repos.influxdata.com"
|