我刚刚安装了一个HP微型服务器Gen8,我想监视它(使用雨量计)。不幸的是,我限制了互联网的访问(80/443),所以我想为此使用XML。我可以使用以下方法获得一些基本信息:https://myserver/xmldata?item=All,如何修改这个xml以获得更多的细节(比如温度/内存/cpu等等)?
发布于 2017-05-18 12:37:57
我想你不会得到这个信息的。这个接口只用于发现。
也许这将有助于获得更多的数据,但您真的不需要验证服务器的所有信息吗?
朗读
http://h20565.www2.hpe.com/hpsc/doc/public/display?docId=c03334058
If configured to do so, the iLO device returns identifying information in
response to an
unauthenticated XML query. By default, the iLO device is configured to
return this information.
To disable this feature, set the CIM_SECURITY_MASK in the
MOD_SNMP_IM_SETTINGS
command to disable unauthenticated XML query return information.和
CIM_SECURITY_MASK accepts the integers 0–4. The possible values are:
• 0—No change
• 1—None (no data is returned)
• 2, 3, 4—Enabled (medium — 3)发布于 2019-10-04 17:00:26
有点晚了,但可能对别人有帮助。
*HPE红鱼和hperest是在第8代上实现的(S可能需要一个更新的国际劳工组织固件来访问此功能),更新的ProLiants允许通过一个安全的HTTPS连接收集诸如CPU、电源、热等的东西**
有用于HPEREST、HPEREDFISh、HPEilo HPEOA等的powershell cmdlet。
还有大量的python和curl样本可供使用。
https://serverfault.com/questions/850866
复制相似问题