Cluster Status via API Call
search cancel

Cluster Status via API Call

book

Article ID: 269917

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

PAM Admin wants to know how you can get the Cluster Status via a PAM API call?

Environment

Release : 4.1.x

Resolution

The following available API:

GET /cspm/ext/rest/dashboard/localDashboard

Will return:

replicationStatus":

* 0 = not replicating
* 1 = caught up (green)
* 2 = warning (yellow)
* 3 = out of sync (yellow)
* 4 = deactivated/off line (red)

"clusterStatus":

 * -1: not in a cluster
 *  0: Cluster stopped
 *  1: Cluster stopping
 *  2: Cluster starting
 *  3: Cluster running