Date: Sat, 12 Oct 2013 13:07:47 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-stable stable <freebsd-stable@freebsd.org> Subject: Re: ZFS devd messages Message-ID: <D9E1F2F5-1FC7-4F2A-A956-497BD035221E@gsoft.com.au> In-Reply-To: <85290551-4239-495E-ACCD-9F03C20D40EF@gsoft.com.au> References: <85290551-4239-495E-ACCD-9F03C20D40EF@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_F0D4CA4D-85B7-4730-BEB7-51B9523B1404 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 12/10/2013, at 11:21, Daniel O'Connor <doconnor@gsoft.com.au> wrote: > Doesn't match anything because messages now look like.. > Processing event '!system=3DZFS subsystem=3DZFS = type=3Dresource.fs.zfs.removed version=3D0 = class=3Dresource.fs.zfs.removed pool_guid=3D469710819 = vdev_guid=3D215223839' >=20 > Does anyone have an updated set of rules handy? For now I nuked the entries out of /etc/devd.conf and made some in = /etc/devd/zfs.conf (where they should have been to start with IMO..) = like so.. notify 10 { match "system" "ZFS"; action "logger -p kern.err 'ZFS notice: type=3D$type = version=3D$version class=3D$class pool_guid=3D$pool_guid = vdev_guid=3D$vdev_guid'"; action "echo 'ZFS notice: type=3D$type version=3D$version = class=3D$class pool_guid=3D$pool_guid vdev_guid=3D$vdev_guid' | mail -s = 'ZFS Event' zfs"; }; And added an alias for zfs@. It would be nice if this was the default, yes it is a bit noisy and not = very user friendly but at least you get notice something weird is = happening out of the box. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --Apple-Mail=_F0D4CA4D-85B7-4730-BEB7-51B9523B1404 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iD8DBQFSWLX75ZPcIHs/zowRAl+NAJ4/FjB//V5zDenwmtL4dOwRcO0BfwCeJ3tY FttSJjC78yGDV+p+W1+8vJE= =5E4Y -----END PGP SIGNATURE----- --Apple-Mail=_F0D4CA4D-85B7-4730-BEB7-51B9523B1404--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D9E1F2F5-1FC7-4F2A-A956-497BD035221E>