Solved

Getting Cluster Health Status from PE

  • 3 April 2019
  • 2 replies
  • 1121 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
icon

Best answer by dlira 17 April 2019, 00:12

View original

2 replies

Userlevel 3
Badge +2
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
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.

Reply