39 lines
848 B
YAML
39 lines
848 B
YAML
network_interfaces:
|
|
- device: enp3s0f0
|
|
auto: true
|
|
family: inet
|
|
method: static
|
|
address: "{{ ansible_host }}"
|
|
netmask: 23
|
|
gateway: 10.10.0.1
|
|
nameservers:
|
|
- 1.1.1.1
|
|
- 1.0.0.1
|
|
|
|
telegraf_agent_version: 1.13.1
|
|
telegraf_agent_output:
|
|
- type: influxdb
|
|
config:
|
|
- urls = ["http://10.10.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 |