Getting Cluster Health Status from PE | Nutanix Community
Skip to main content
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
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.
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