paulbsd-salt/states/telegraf/defaults.yaml
Paul e100adbc65
All checks were successful
continuous-integration/drone/push Build is passing
updated telegraf state
2024-04-02 23:12:40 +02:00

62 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:
main:
interval: "1m"
round_interval: "true"
metric_batch_size: 1000
metric_buffer_limit: 10000
collection_jitter: "0s"
flush_interval: "30s"
flush_jitter: "0s"
precision: ""
omit_hostname: "false"
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"'
http:
urls: ['"http://ipinfo.io"']
data_format: "json_v2"
diskio:
kernel:
kernel_vmstat:
mem:
nstat:
netstat:
postfix:
processes:
swap:
sensors:
smart:
system:
systemd_units:
syslog:
server: "udp://:6514"