I have set up a launchd job which checks my S.M.A.R.T. status.
After I installed iStat Menus my launchd job immediately threw me a popup saying me to backup all my files. I checked with Disk Utility and I saw S.M.A.R.T. status as Unsupported.
I immediately uninstalled iStat Menus using the official uninstaller and I found out that immediately after uninstalling that app my SMART status showed up SMART status: Verified. Phew!
Why did iStat Menus disable S.M.A.R.T.? Is there any specific reason I would like to know.
Here's how my script looks:
A=$( diskutil info disk0 | grep SMART )
if [ "$A" != " SMART Status: Verified" ]
then
osascript -e 'tell application "Finder" to activate' -e 'tell application "Finder" to display dialog "Your Drive is failing, Please backup all your important files now" buttons {"OK"} with icon stop'
fi