Files
lab-rack/templates/telegraf.conf.j2
T

36 lines
884 B
Django/Jinja
Raw Normal View History

2026-07-06 16:45:51 +02:00
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
hostname = "{{ inventory_hostname }}"
[[outputs.influxdb]]
urls = ["http://192.168.123.101:8086"] # Your InfluxDB IP
database = "proxmox"
[[inputs.cpu]]
percpu = true
totalcpu = true
collect_cpu_time = false
report_active = false
[[inputs.mem]]
[[inputs.disk]]
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
[[inputs.system]]
[[inputs.temp]] # This is the magic for the Raspberry Pi temperature
[[inputs.zfs]]
## ZFS pool metrics (This is what we need for the bar)
poolMetrics = true
## Dataset metrics (Optional: for individual LXC/VM disks)
datasetMetrics = true
# Keep your other inputs too
[[inputs.cpu]]
[[inputs.mem]]
[[inputs.disk]]
[[inputs.system]]