I've spent the better part of the afternoon searching on how I can get FreeNAS-8.2.0-RELEASE-p1-x64 to alert me via email if something's up.
'Something up' would include:
- Drive removed
- Drive with S.M.A.R.T errors
- Anything else other than perfect operation
It seems that through the GIU the only alert you can setup is a SMART check if the temp has gone up by x, its over x or over y.
I'm testing out FreeNAS in the hope of using it going forward and one of the tests I have done is probably the most basic, pulling out a disk while it is running to simulate worst case epic failure. The console reports this straight away and the alert light will eventually go to yellow indicating something is up but that's about it.
I've got email setup, my email in the root account and test emails are sending.
Seems i'm not alone for this requirement as others have resorted to scripting up checks that can be put in CRON jobs that get run every so often however finding a good one of these is proving difficult and they were written back in 2009 for older versions.
Reporting on a failure or a SMART error has been a staple for any RAID solution I have ever come in contact with. Software on an add-in card, onboard raid, enterprise raid (Hyper-V or ESX) i'm just so confused as to why there is nothing at all available for FreeNAS? Some users are saying "its a bug in FreeBSD" and.. that's it.. people seem to accept that.
My fear is that if I use this and everything is sweet for say a year. I never bother to check the nas or log onto the webUI as it's up and running. However in the examples above a disk could be on its way out, be unplugged, dead, etc and I wouldn't even know about it. Then another disk dies and it's all over (wanting to use RaidZ).
Someone please tell me "Phono you fool, there's all that under xyz in the GUI" or "Ah, here load this script up in CRON and change your email, you'll be fine". I'm pretty damn good at using google, tried the search functions on here going through pages and pages of posts and i''m constantly coming up with nothing.