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
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
config:
|
2024-03-20 14:32:46 +01:00
|
|
|
main:
|
2024-03-20 15:14:07 +01:00
|
|
|
interval: "1m"
|
2024-03-20 15:18:54 +01:00
|
|
|
round_interval: "true"
|
2024-03-20 15:14:07 +01:00
|
|
|
metric_batch_size: 1000
|
|
|
|
metric_buffer_limit: 10000
|
|
|
|
collection_jitter: "0s"
|
|
|
|
flush_interval: "30s"
|
|
|
|
flush_jitter: "0s"
|
|
|
|
precision: ""
|
2024-03-20 15:18:54 +01:00
|
|
|
omit_hostname: "false"
|
2024-03-20 14:32:46 +01:00
|
|
|
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"'
|
2024-04-02 22:35:28 +02:00
|
|
|
http:
|
|
|
|
urls: ['"http://ipinfo.io"']
|
|
|
|
data_format: "json_v2"
|
2024-03-20 14:32:46 +01:00
|
|
|
diskio:
|
|
|
|
kernel:
|
|
|
|
kernel_vmstat:
|
|
|
|
mem:
|
2024-04-02 22:35:28 +02:00
|
|
|
nstat:
|
2024-04-02 23:12:40 +02:00
|
|
|
netstat:
|
2024-03-20 14:32:46 +01:00
|
|
|
postfix:
|
|
|
|
processes:
|
|
|
|
swap:
|
|
|
|
sensors:
|
|
|
|
smart:
|
|
|
|
system:
|
|
|
|
systemd_units:
|
2024-11-15 13:46:27 +01:00
|
|
|
#syslog:
|
|
|
|
# server: "udp://:6514"
|