Alert system should give a notice when zpool status -x have output
|Reported by:||delphij||Owned by:||william|
Currently the health state is obtained by issuing "zpool list -o health". However, this does not take account into "soft" errors like a corrected checksum error, like detected during monthly zpool scrub.
It's desirable that alert system give alerts when there is checksum errors as well.
To reproduce (assuming tank is a pool mirrored or raidz with da3p2 as member):
zpool export tank
dd if=/dev/random of=/dev/da3p2 bs=1m count=1024
zpool import -R /mnt tank
zpool scrub tank
The scrub process would detect errors while the system will still consider the pool 'online'.
This is marked as critical as 'soft' errors sometimes predate real and unrecoverable errors and data integrity is our #1 goal.