A lightweight SMART exception reporting solution?
Hello :)
Is there a lightweight SMART exception reporting solution? Ideally something that will periodically gather SMART statistics and, when there is an exception indicating a problem worthy of investigation, send an email? smartmontools provides the base, the ability to query drives and report statistics. It would, of course, be possible to run a script periodically that runs smartmontools commands, analyses the output and, on detecting an exception, sends an email. A sophisticated implementation would send emails reporting the same problem with decreasing frequency and would infrequently send a "green light" email to assure the recipient that is was still working. This seems such an "obviously" useful function that it may have been developed already but so far I have only found graphical utilities such as munin, GSmartControl and maybe CrystalDiskInfo which would be fine tools to run constantly in an operations centre but are overkill for a single workstation. Best Charles |
infact, smartmontools does support this, see man smartd...
|
Quote:
Code:
/dev/sda -a -I 194 -M diminishing m root -o on -s (S/../.././17|L/../../6/15) -W 3,41,46 |
Hi,
I use /dev/hda -a -I 194 -n standby -o on -S on -s S/../.././02 -m (myadminmailaddress) -M diminishing but I must have missed the -W switch, will add it immediately :) About the usefullness: I already had a dying disc and must say, SMART has done its job. It told me about 3 mins before the disc finally gave up that something is bad... :( I have another disc (used as swap in a private pc) that is SMART defect for more than 3 years now... So I wouldn't give that much, but the thermal check ist quite a good indicator for real trouble in your case, I think... |
All times are GMT -5. The time now is 05:25 AM. |