I’m looking for some help monitoring my zfs backend for lxd.
I’ve deployed prometheus node exporter:
/usr/bin/node_exporter --version
node_exporter, version 1.3.1 (branch: HEAD, revision: a2321e7b940ddcff26873612bccdf7cd4c42b6b6)
build user: root@243aafa5525c
build date: 20211205-11:09:49
go version: go1.17.3
platform: linux/amd64
… which produces some metrics:
curl -k http://192.168.111.2:9100/metrics | grep zfs | grep size
HELP node_zfs_abd_linear_data_size kstat.zfs.misc.abdstats.linear_data_size
# TYPE node_zfs_abd_linear_data_size untyped
node_zfs_abd_linear_data_size 5.2704768e+07
# HELP node_zfs_abd_scatter_data_size kstat.zfs.misc.abdstats.scatter_data_size
# TYPE node_zfs_abd_scatter_data_size untyped
node_zfs_abd_scatter_data_size 6.0842836992e+10
# HELP node_zfs_abd_struct_size kstat.zfs.misc.abdstats.struct_size
# TYPE node_zfs_abd_struct_size untyped
node_zfs_abd_struct_size 3.069084e+07
… But this doesn’t make much sense to me and I was looking for some advice on:
- How and what to monitor on disk utilization (space left etc.)?
- Is there anyone which has a grafana dashboard which I could use?
- Does anyone have some general advice on alerting strategies on my zfs ?
This is a followup on: Question on LXD dashboard values - #3 by erik_lonroth