如何从 Unix Box 远程获取 Windows Server CPU 指标?
我有一组 Windows Server 机器,我试图通过我的 Unix 系统从这些机器中收集指标(CPU 利用率、内存、磁盘利用率)。我尝试使用 SNMP 方法,但似乎令人难以置信。我不仅必须收集 Windows 中指标的所有 OID(这对于 Google 来说非常困难,而且 snmpwalk 会为您提供大量难以破译的信息)。是否还有其他巧妙的方法来从这些 Windows 盒子中收集性能指标。 我确实考虑过运行我自己的 python 脚本并将这些指标发送到 unix 盒子的替代方案,但由于各种原因这似乎不太可能。任何新方法将不胜感激。
I have a set of of Windows Server boxes and i am trying to collect metrics ( Cpu utlization , Memory , Disk utilizaion ) from those boxes through my Unix system. I tried using SNMP method , but it seems mind boggling . Not only i have to collect all OIDs for metrics in Windows ( which is very hard to Google and snmpwalk gives you a hell lot of information which is very hard to decipher ) . Is there any other ingenious ways to collect performance metrics from these windows boxes.
I did think of an alternative of running my own python scripts and send these metrics to unix boxes , but that seems unlikely for various reasons. any new method will be appreciated .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您基本上有 2 个选择:
1、在安装的 Windows 服务器上使用 Nagios 远程执行插件,您可以非常简单地从 UNIX 框中查询:
http://www.miwi-dv.com/nrpent/
我在企业环境中使用它。从 rehel5 监控 Windows Server 盒子的健康状态。
2,尝试 WBEM/WMI,它也可以在 unix 盒子上工作:
还有适用于 linux 的 wmi-client 可用,一些博客描述了操作方法:
http://blogs.balabit.com/2010/09/18/wmi-client-for-linux/
http://forums.cacti.net/viewtopic.php?t=29392
you have basically 2 options:
1, use Nagios Remote Execution Plugin on Windows servers installed which you can very simply query from your UNIX box:
http://www.miwi-dv.com/nrpent/
I'm using it in enterprise env. to monitor health status of Windows Server boxes from rehel5.
2, Try WBEM/WMI, it also works from unix box :
There is also wmi-client for linux available , some blog describe how-tos:
http://blogs.balabit.com/2010/09/18/wmi-client-for-linux/
http://forums.cacti.net/viewtopic.php?t=29392