Skip to main content
Solved

Getting Cluster Health Status from PE

  • April 3, 2019
  • 2 replies
  • 1523 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
This topic has been closed for replies.

2 replies

  • Author
  • Nutanix Employee
  • 1 reply
  • April 4, 2019
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
  • 27 replies
  • Answer
  • April 16, 2019
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