Replies: 6 comments 19 replies
-
I suggest this should be a community script rather than a feature request as can be monitored with wmi. I'll look at scripting it up this week or next. |
Beta Was this translation helpful? Give feedback.
-
Try using this: $ErrorActionPreference= 'silentlycontinue' if ($smartst = 'False') else Exit $LASTEXITCODE |
Beta Was this translation helpful? Give feedback.
-
Yes, the one i used is the one from paste bin.... i suppose its because some of the script isn't compatible with Windows Server 2016. |
Beta Was this translation helpful? Give feedback.
-
Just looked it up to refresh my memory. There is no standard API for pulling individual disk info from a raid controller, it's vendor specific, and the correct modules need to be installed. Essentially, to make a universal script, you'd need to find the correct modules for all of the common controller apis and add checks for each one at the beginning of the script. If one is present, you'd use those "functions" to pull the info. |
Beta Was this translation helpful? Give feedback.
-
This could be adapted to work. https://www.cyberdrain.com/monitoring-with-powershell-monitoring-smart-status-using-smartctl/ |
Beta Was this translation helpful? Give feedback.
-
So I have done some work on this. Feel free to fix it. I am not the best with PowerShell but we needed to get this working for us too.
|
Beta Was this translation helpful? Give feedback.
-
So I've been using TacticalRMM for a little while now, I love it... but
I just really wish it had SMART check, with it I'd be able to more reliably detect bad hard drives before they die, once they die it can become a huge pain and cost a company thousand worth in down time. It work to set up email notifications with CrystalDiskInfo but it would be so cool to add it to TacticalRMM.
It might be a big task but in my opinion it is a must have for an RMM.
Beta Was this translation helpful? Give feedback.
All reactions