I'd like to monitor these with SNMP:
zpool iostat -v 1
Per drive and sum.
zpool status
Scrubbing as 1 and not scrubbing as 0.
zpool status -x
Monitor $? (return value). Send trap when value is not 0.
zfs list
Used & free space.
What kind of scripts are needed?