Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Service Health for Saviynt instance

trace001
New Contributor III
New Contributor III

Hi Team,

We understand we can use the below to understand instance up/down by checking the following

https://XXX.saviyntcloud.com/ECM/healthcheck

With the JSON returned, I would like to confirm if one of the DB_health or ES_Health status returns value other than pass, will the  $.status at the end will be a value other than pass. This is to make sure scripting is done to check the status. 

{"checks":{"DB_Health":{"status":"pass","errorcode":"NA","message":"DB Service is up"},"ES_Health":{"status":"pass","errorcode":"NA","message":"Elastic server is up"}},"description":"Health of ECM service","status":"pass","timestamp":"10-11-2024 08:14:43"}

Thanks,

Trace

2 REPLIES 2

Amit_Malik
Valued Contributor II
Valued Contributor II

it should be the last status. 

Amit_Malik_0-1728637490757.png

 

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

rushikeshvartak
All-Star
All-Star

Behavior:

  • If both DB_Health and ES_Health have a "status": "pass", the overall $.status will be "pass".
  • If either DB_Health or ES_Health (or both) return any other value than "pass" (e.g., "fail" or "warn"), then the overall $.status will likely reflect this by returning a value other than "pass" (likely "fail" or "warn", depending on the scenario).

So, yes, if one of the individual checks (DB_Health or ES_Health) has a status other than "pass", the $.status value at the end will change accordingly. You can script your check around this assumption to monitor the overall status easily.

 

 

{
  "checks": {
    "DB_Health": {"status": "pass", "errorcode": "NA", "message": "DB Service is up"},
    "ES_Health": {"status": "pass", "errorcode": "NA", "message": "Elastic server is up"}
  },
  "description": "Health of ECM service",
  "status": "pass",
  "timestamp": "10-11-2024 08:14:43"
}

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.