Sensu plugin for zfs health checks.
This checks does the following checks against one or more zpools.
The following flags can be used to configure the checks.
-z, --zpool
What zpool to check. If omitted, we check all zpools.-c, --capacity-warn
Capacity threshold for when to warn. (default 80)-C, --capacity-crit
Capacity threshold for when to crit. (default 90)-s, --scrubbing-interval
Warn when it is more than this number of days since last scrub. (default 7)Reads /proc/spl/kstat/zfs/arcstats
for ARC statistics and puts them in a form usable by Graphite.
For more information see ZoL Linux Module Parameters
At this time ideas for additional checks/metrics would be very much appreciated.
I have a few ideas that would be nice:
Bug reports and pull requests are welcome on GitHub at https://github.com/sensu-plugins/sensu-plugins-zfs.
The gem is available as open source under the terms of the MIT License.