Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. (unofficial mirror)
I am trying to set some alerts on zfs datasets / zfs pools and am puzzled about the given percentages.
Monit config
monitbridge
is my bridge to slack. The monit variable say:When I calculate usage based on the 197G shown by
zfs list
I expect ~42% and if I use the 202G used by the entire pool I expect ~44%.So I looked further:
Here we find the 39%. I got the strong feeling, monit should use the values reported by
zfs list
/zpool list
rather than thedf
values.