解决了

从PE获得簇状况


你好,
我一直在尝试通过CMDLET或REST API访问PE健康状况(例如失败,警告等),但没有太多运气。
有任何想法吗?
干杯,
曼努埃尔

该主题已关闭以供评论

2个答复

信息:

这可以从NCC的结果中获得

https:// yourip:9440/prismgateway/services/rest/v1/ncc/run_summary,

并使用.js在UI中格式化以显示最终结果。
UserLevel 3
徽章 +2
使用API​​真的很简单:

您可以使用API​​V2来做到这一点:


代码:
https://10.26.1.2:9440/prismgateway/services/rest/v2.0/alerts/?get_causes = true&detailed_info=true


如果您需要有关如何获取数据或如何连接的示例或指南,请访问我的GitHub。

https://github.com/dlira2/nutanix-tools-for-ahv
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu