Okay, so now that I''m planning to build my NAS using ZFS, I now need to devise or learn of a preexisting method to receive notification of ZFS handled errors on a remote machine. For example, if a disk fails and I don''t regularly login or SSH into the ZFS server, I''d like an email or some other notification immediately of the ZFS event. Are there already ways to do this? A few leads into what existing technologies or few keywords on what to look for would help. I''ve found the FMA references with SMF, but that doesn''t seem to be the full answer to my quest here. It''s been awhile since I''ve used the web-console to ZFS, perhaps this is now a feature there? If not, that would be a great addition! Thanks for any leads or tips! This message posted from opensolaris.org
On 10/31/06, Wes Williams <wes at classiarius.com> wrote:> Okay, so now that I''m planning to build my NAS using ZFS, I now need to devise or > learn of a preexisting method to receive notification of ZFS handled errors on a remote > > machine. > > For example, if a disk fails and I don''t regularly login or SSH into the ZFS server, I''d like > an email or some other notification immediately of the ZFS event.>> Are there already ways to do this?I use the smartmontools smartd daemon to email me when disk drives are about to fail. If you are interested in configuring smartd to send email notifications prior to a disk failing, check out the following blog post: http://prefetch.net/blog/index.php/2006/01/05/using-smartd-on-solaris-systems-to-find-disk-drive-problems/ Thanks, - Ryan -- UNIX Administrator http://prefetch.net
Wes Williams
2006-Oct-31 18:04 UTC
[zfs-discuss] Re: ZFS Automatic Device Error Notification?
> I use the smartmontools smartd daemon to email me > when disk drives are > about to fail. If you are interested in configuring > smartd to send > email notifications prior to a disk failing, check > out the following > blog post: > > http://prefetch.net/blog/index.php/2006/01/05/using-sm > artd-on-solaris-systems-to-find-disk-drive-problems/ > > Thanks, > - Ryan > -- > UNIX Administrator > http://prefetch.net > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discu > ss >Thanks for the feedback Ryan, I''ll certainly consider this option. However, the ideal solution would also have the option send a notification at X-interval (daily), and at least let you know the monitoring is working and that there are no errors, and could also provide specific ZFS pool status update. This message posted from opensolaris.org
Richard Elling - PAE
2006-Oct-31 18:19 UTC
[zfs-discuss] ZFS Automatic Device Error Notification?
There are several ways to do this. Two of the most popular are syslog and SNMP. syslog works, just like it always did (or didn''t). For more details on FMA and how it works with SNMP traps, see the conversations on the OpenSolaris fault management community, http://www.opensolaris.org/os/community/fm/ and Keith wrote an interesting blog about FMA-SNMP http://blogs.sun.com/wesolows?entry=a_louder_voice_for_the In short, ZFS doesn''t invent anything new for such notification, it just uses the existing methods. -- richard Wes Williams wrote:> Okay, so now that I''m planning to build my NAS using ZFS, I now need to devise or learn of a preexisting method to receive notification of ZFS handled errors on a remote machine. > > For example, if a disk fails and I don''t regularly login or SSH into the ZFS server, I''d like an email or some other notification immediately of the ZFS event. > > Are there already ways to do this? > > A few leads into what existing technologies or few keywords on what to look for would help. I''ve found the FMA references with SMF, but that doesn''t seem to be the full answer to my quest here. > > It''s been awhile since I''ve used the web-console to ZFS, perhaps this is now a feature there? If not, that would be a great addition! > > Thanks for any leads or tips! > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss