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 ;) /Tomas -- Tomas Ögren, [EMAIL PROTECTED], http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss