59 lines
1.3 KiB
YAML
59 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"'
|
|
diskio:
|
|
kernel:
|
|
kernel_vmstat:
|
|
mem:
|
|
net:
|
|
netstat:
|
|
postfix:
|
|
processes:
|
|
swap:
|
|
sensors:
|
|
smart:
|
|
system:
|
|
systemd_units:
|
|
syslog:
|
|
server: "udp://:6514"
|