87 lines
1.8 KiB
YAML
87 lines
1.8 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
|
|
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"
|
|
httpjson:
|
|
name: "httpjson"
|
|
params:
|
|
name: "ipinfo"
|
|
interval: "15m"
|
|
servers:
|
|
- '"https://ipinfo.io"'
|
|
response_timeout: "5s"
|
|
method: "GET"
|
|
tag_keys:
|
|
- '"ip"'
|
|
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:
|
|
server: "udp://:6514"
|