paulbsd-salt/states/telegraf/defaults.yaml

64 lines
1.3 KiB
YAML

---
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
os: linux
arch: amd64
config:
outputs:
influxdb:
urls:
- '"http://localhost:8086"'
username: username
password: password
database: telegraf
inputs:
cpu:
percpu: true
totalcpu: true
collect_cpu_time: false
report_active: false
disk:
ignore_fs:
- '"tmpfs"'
- '"devtmpfs"'
- '"devfs"'
- '"iso9660"'
- '"overlay"'
- '"aufs"'
- '"squashfs"'
- '"fuse.rclone"'
diskio:
httpjson:
name: "ipinfo"
interval: "15m"
servers:
- '"https://ipinfo.io"'
response_timeout: "5s"
method: "GET"
tag_keys:
- '"ip"'
kernel:
kernel_vmstat:
mem:
net:
netstat:
nginx:
urls:
- '"http://localhost:8080/status"'
response_timeout: "5s"
ntpq:
dns_lookup: true
postfix:
processes:
swap:
sensors:
smart:
system:
systemd_units:
syslog:
server: "udp://:6514"