feat(zfs): add capacity metrics and Grafana dashboard

Deploy an hourly systemd timer that writes pool and dataset capacity to
node_exporter's textfile collector, since --collector.zfs exposes only
ARC/I-O/state. Add a provisioned 'ZFS - Pools & Datasets' dashboard with
per-pool totals, per-dataset used/quota and daily growth panels.
This commit is contained in:
Clément Désiles
2026-09-18 15:25:23 +02:00
parent 501671770f
commit c127336321
10 changed files with 317 additions and 1 deletions
@@ -0,0 +1,7 @@
[Unit]
Description=Collect ZFS pool and dataset capacity metrics
After=zfs.target zfs-import.target
[Service]
Type=oneshot
ExecStart={{ zfs_metrics_script_path }}