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.
12 lines
361 B
YAML
12 lines
361 B
YAML
---
|
|
- name: Install ZFS
|
|
ansible.builtin.include_tasks: install.yml
|
|
- name: Configure Zpools
|
|
ansible.builtin.include_tasks: pools.yml
|
|
- name: "Setup ZFS datasets: filesystems, snapshots, volumes"
|
|
ansible.builtin.include_tasks: datasets.yml
|
|
|
|
- name: Setup ZFS capacity metrics
|
|
ansible.builtin.include_tasks: metrics.yml
|
|
when: zfs_metrics_enabled | bool
|