36 lines
884 B
Django/Jinja
36 lines
884 B
Django/Jinja
[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]]
|