scripts/domain-check by Matty (http://www.cyberciti.biz/files/scripts/domain-check-2.txt)
# ZFS checks
# zpool(1M) status, parameters: zpool-name,property
# parameters eg.: rpool,health
# see zpool list -o for available properties
UserParameter=zpool[*],zpool list -H -o $2 $1|sed -e 's/%//'