Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A *much* simpler approach' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A *much* simpler approach
Authored by: TrumpetPower! on Aug 10, '04 05:10:20PM

This hint is a great idea...but it’s really overkill.

Instead, just put this into your crontab:

0 * * * * if ! (diskutil info disk0 | egrep -q 'SMART Status.*Verified'); then echo 'SMART Problem!'; fi

Assuming you’ve got mail set up properly so that you get results from cron sent to you, this’ll run every hour on the hour and only mail you if there’s a problem.

Of course, you’ll want to adjust “disk0” appropriately.

Cheers,

b&



[ Reply to This | # ]
A *much* simpler approach
Authored by: baltwo on Aug 10, '04 06:40:40PM

Does it handle external, plug & play HDs? Does it report during restart/login, which is the main purpose of the script. To each his own, mucking with cron tasks is way beyond most people, the script was written to minimize the Unix tweaking that modifying crontab and enabling postfix or other mail service. Those tasks, for the average user, is what I consider overkill.



[ Reply to This | # ]
A *much* simpler approach
Authored by: sjk on Aug 10, '04 11:41:33PM

Or use the SMARTReport utility I mentioned earlier.



[ Reply to This | # ]
A *much* simpler approach
Authored by: osxpounder on Aug 25, '04 11:38:14AM

sjk: thank you for the link to SmartReporter. It's a better solution for me because it doesn't demand my attention unless it detects a problem.

---
--
osxpounder



[ Reply to This | # ]
A *much* simpler approach
Authored by: sjk on Aug 26, '04 12:21:11AM

It's an ideal type of monitor for my wife's system:

"See that little green icon? Let me know right away if it ever changes color or disappears."



[ Reply to This | # ]