John.Stewart at emerson.com
2008-Apr-02 21:23 UTC
[zfs-discuss] Simple monitoring of ZFS pools, email alerts?
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). TIA johnS -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080402/26568fd2/attachment.html>
Tomas Ă–gren
2008-Apr-02 21:54 UTC
[zfs-discuss] Simple monitoring of ZFS pools, email alerts?
On 02 April, 2008 - John.Stewart at emerson.com 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, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se
Wade.Stuart at fallon.com
2008-Apr-02 22:00 UTC
[zfs-discuss] Simple monitoring of ZFS pools, email alerts?
zfs-discuss-bounces at opensolaris.org wrote on 04/02/2008 04:54:58 PM:> On 02 April, 2008 - John.Stewart at emerson.com 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
On Wed, Apr 2, 2008 at 4:23 PM, <John.Stewart at emerson.com> wrote:> 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). > > TIA > > johnS > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > >>From what I can tell, this is available via IPMI. The 1.0 specification hasa flag for "disk/disk bay". Any experts want to confirm/deny? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080402/a2357f2d/attachment.html>
Nicolas Szalay
2008-Apr-03 06:40 UTC
[zfs-discuss] Simple monitoring of ZFS pools, email alerts?
Le mercredi 02 avril 2008 ? 16:23 -0500, John.Stewart at emerson.com a ?crit :> 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).I have been in the same situation, so I wrote a nagios plugin collecting event from FMd via SNMP. The purpose is a little wider than what you need (as it collects all FMd events) but if it can help see http://solaris-fr.org/home/docs/serveur/smpfmd (in french, sorry) If you need explanations due to language post here :) Hope it helps, -- Nicolas Szalay Administrateur syst?mes & r?seaux -- _ ASCII ribbon campaign ( ) - against HTML email X & vCards / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080403/faad8149/attachment.bin>
John.Stewart at emerson.com
2008-Apr-04 14:53 UTC
[zfs-discuss] Simple monitoring of ZFS pools, email alerts?
Thanks for the responses... it does sound like there is nothing built in, so it''s a situation where you have to roll your own. A colleague pointed me at this: http://prefetch.net/code/fmadmnotifier I''m testing it now; seems like it might do the trick nicely. johnS -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080404/0091198c/attachment.html>