Linux 中是否有 API、接口或库来访问电力硬件的状态、健康状况和历史数据?

发布于 2024-10-08 14:20:08 字数 1539 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

虫児飞 2024-10-15 14:20:08

我认为这样的事情是非常特定于硬件的。一种通用方法是使用 SNMP。服务器制造商可能已经编写了各种 MIB 以允许监视各种事物,并且通过一些工作,人们可以编写自己的 MIB 以采取更专门的操作和测量。如果您有较新的 HP 服务器,它们有一个内置的类似 SNMP 的软件包,称为 iLO(或 Integrated-Lights-out)。

I'd think such a thing would be pretty hardware-specific. One general approach is to use SNMP. The manufacturer of the server may have already written various MIBs to allow monitoring of various things and, with some work, one can write their own to take more specialized actions and measurements. If you have newish HP servers, they have a built-in SNMP-like package called iLO, or integrated-lights-out.

蓝戈者 2024-10-15 14:20:08

服务器设备通常没有电池。另一方面,UPS 则可以。我使用一个名为“nut”的程序来监控我的 UPS,它使用一堆插件来支持多个不同的 UPS 品牌。没有一个 API 可以支持所有这些。

Server equipment doesn't generally have batteries. UPSes on the other hand do. I use a program called 'nut' to monitor my UPS, and it uses a bunch of plugins to support multiple different UPS brands. There is no single API that supports all of them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文