This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
## ZFS health check script for monit. | |
## v0.9.0.1 | |
# | |
## Should be compatible with FreeBSD and Linux. Tested on Ubuntu. | |
## If you want to use it on FreeBSD then go to Scrub Expired section | |
## and comment two Ubuntu date lines and uncomment two FreeBSD lines | |
# | |
## Assumed usage in monitrc (where 80 is max capacity in percentages |