|
IloveMSproducts -> RE: IDE-SCSI S.M.A.R.T Data to WMI to SMS Inventory (9/24/2007 4:41:33 PM)
|
Hello fellow S.M.A.R.T. fans. I've created a cmd script I call via SMS which efectively runs "perl.exe HD_health_check.pl" and exit 0 to run the SMARTctl.exe program. The Perl script runs the SMARTctl.exe program to execute a short SMART test plus monitors some variables. Then it will write the results to a file on the C:\ directly. Just download perl.exe and the DLL from Activestate Perl, and the SMARTctl.exe program from the http://sourceforge.net/projects/smartmontools/ address and drop the attached script into a folder. Run "perl.exe HD_health_check.pl" to start it. 09/24/2007 04:30 PM 9,105 HD_health_check.pl 04/13/2004 07:25 PM 20,540 perl.exe 04/13/2004 07:25 PM 667,710 perl56.dll 12/20/2006 05:08 PM 228,864 smartctl.exe I end up using the File Inventory feature on SMS to see who's got a PASS/WARN/FAIL file on their PC, and a person can check their own PC by looking for C:\hard_disk_hda(warn/pass/fail).txt with all the gory details. This started out as a proof of concept and I've been replacing HDs ever since. PCs with a bunch of reallocated sectors are a good to replace, as are ones with FAILING_NOW listed in the Smart status! Please let me know how this works for you.
|
|
|
|