[EMAIL PROTECTED] wrote on 04/02/2008 04:54:58 PM: > On 02 April, 2008 - [EMAIL PROTECTED] sent me these 3,4K bytes: > > > Been goggling around on this to no avail... > > > > We're hoping to soon put into production an x4500 with a big ZFS pool, > > replacing a (piece of junk) NAS head which replaced our old trusty > > NetApp. > > > > In each of those older boxes, we configured them to send out an email > > when there was a component failure. > > > > I'm trying to find the simplest way to do this with our ZFS box. We've > > got a rudimentary log parser, but I don't want to rely on it to pick up > > items in the messages file. Surely there is some way to get an email > > alert when a disk pukes? I don't want to re-invent the wheel (but am so > > far pretty surprised I've not turned up any such so far). > > zpool status -x | grep -v 'all pools are healthy' > > in cron, is one method ;)
Also for hardware and services make sure you understand sfm/ssm. They do not really cover ZFS/disks yet on the Solaris10 side -- I do not know about in the latest OpenSolaris builds. http://www.sun.com/bigadmin/features/articles/selfheal.jsp _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss