paulbsd-salt/states/telegraf/defaults.yaml

87 lines
1.8 KiB
YAML
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
telegraf:
enabled: true
release_dir: /usr/local/apps/releases
install_dir: /usr/local/apps
mirror: https://dl.influxdata.com/telegraf/releases
version: 1.13.3
influxdb_urls:
- '"http://localhost:8086"'
influxdb_username: username
influxdb_password: password
influxdb_database: telegraf
os: linux
arch: amd64
config:
outputs:
inputs:
cpu:
name: "cpu"
params:
percpu: true
totalcpu: true
collect_cpu_time: false
report_active: false
disk:
name: "disk"
params:
ignore_fs:
- '"tmpfs"'
- '"devtmpfs"'
- '"devfs"'
- '"iso9660"'
- '"overlay"'
- '"aufs"'
- '"squashfs"'
diskio:
name: "diskio"
2020-10-25 16:37:55 +01:00
httpjson:
name: "httpjson"
params:
name: "ipinfo"
interval: "15m"
servers:
- '"https://ipinfo.io"'
response_timeout: "5s"
method: "GET"
tag_keys:
- '"ip"'
2020-07-10 00:58:55 +02:00
kernel:
name: "kernel"
kernel_vmstat:
name: "kernel_vmstat"
mem:
name: "mem"
net:
name: "net"
netstat:
name: "netstat"
nginx:
name: "nginx"
params:
urls:
- '"http://localhost/status"'
response_timeout: "5s"
ntpq:
name: "ntpq"
params:
dns_lookup: true
postfix:
name: "postfix"
processes:
name: "processes"
swap:
name: "swap"
sensors:
name: "sensors"
smart:
name: "smart"
system:
name: "system"
systemd_units:
name: "systemd_units"
syslog:
name: "syslog"
params:
2020-10-25 16:37:55 +01:00
server: "udp://:6514"