telegraf_agent_version: 1.13.1 telegraf_agent_output: - type: influxdb config: - urls = ["http://127.0.0.1:8086"] - database = "telegraf" - precision = "s" - retention_policy = "" - write_consistency = "any" - timeout = "5s" telegraf_plugins_default: - plugin: cpu config: - percpu = true - totalcpu = true - fielddrop = [ "time_*" ] - plugin: disk config: - ignore_fs = ["tmpfs", "devtmpfs", "cifs", "nfs"] - plugin: diskio - plugin: kernel - plugin: mem - plugin: processes - plugin: swap - plugin: system - plugin: netstat - plugin: net - plugin: ping config: - urls = ["{{ groups['nodes'] | map('extract', hostvars, ['ansible_host']) | join('","') }}"]