Skip to main content
Solved

Getting Cluster Health Status from PE

  • Apr 3, 2019 6:03 PM UTC
  • 2 replies
  • 1602 views

Hi,
I've been trying to get access to PE Health Status (e.g. Failed, Warning, etc) via CmdLets or REST API with no much luck.
Any ideas?
Cheers,
Manuel

Best answer by dlira

with the api is really simple:

You can use APIV2 to do that:


code:
https://10.26.1.2:9440/PrismGateway/services/rest/v2.0/alerts/?get_causes=true&detailed_info=true


If you need examples or a guide on how to obtain the data or how to connect, visit my github.

https://github.com/dlira2/Nutanix-tools-for-AHV
View original
This topic has been closed for replies.

2 replies

  • Author
  • Nutanix Employee
  • Apr 4, 2019 9:29 AM UTC
INFO:

This can be obtained from NCC results from located at

https://YOURIP:9440/PrismGateway/services/rest/v1/ncc/run_summary,

and the gets formatted in UI with .js to display final result.

dlira
Forum|alt.badge.img+2
  • Trailblazer
  • Answer
  • Apr 16, 2019 10:12 PM UTC
with the api is really simple:

You can use APIV2 to do that:


code:
https://10.26.1.2:9440/PrismGateway/services/rest/v2.0/alerts/?get_causes=true&detailed_info=true


If you need examples or a guide on how to obtain the data or how to connect, visit my github.

https://github.com/dlira2/Nutanix-tools-for-AHV