如何读取HDD S.M.A.R.T.属性? [英] How to read HDD S.M.A.R.T. attributes?
本文介绍了如何读取HDD S.M.A.R.T.属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将在Windows 7客户端上监视智能HDD.
I would monitoring the smart HDD-s on my Windows 7 clients.
我将只使用WMI或PowerShell,而无需使用任何vbs文件或现成的工具即可获得HDD智能属性.
I would to get the HDD smart attributes without using any vbs file or ready-made tool just looking towards WMI or PowerShell.
我将使用ZABBIX监视服务器聚合该数据(使用zabbix-sender.exe
).
I would aggregate that data with ZABBIX monitoring server (use zabbix-sender.exe
).
我发现了一个或多或少的Linux解决方案,但我将监视Windows 7计算机的硬盘.
I found a more or less solution for Linux, but I would monitor windows 7 machines HDD.
有人有主意吗?
推荐答案
使用WMI API这样访问SMART数据,
Use the WMI API to access SMART data like so,
gwmi -namespace root\wmi -class MSStorageDriver_FailurePredictStatus
示例.
这篇关于如何读取HDD S.M.A.R.T.属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文