1. System monitor status:

XRAY: How to use Xray Health Check?

AuthorFullName__c
Anusha M
articleNumber
000005548
ft:sourceType
Salesforce
FirstPublishedDate
2023-01-12T18:52:49Z
lastModifiedDate
2023-01-12
VersionNumber
2
We can use the REST endpoint GET /xray/api/v1/monitor to perform Health Check on Xray servers. This will give the system monitoring status of the particular instance.

Sample usage:
GET /xray/api/v1/monitor 
{
 "problems": [
   {
     "severity": "warning",
     "services": [
       "analysis",
       "event",
       "indexer",
       "xray_server"
     ],
     "problem": "No connection to Artifactory instance ###art12"
   }
 ]
}

Command:
curl -uadmin:password -XGET http://mill.jfrog.info:17036/xray/api/v1/monitor

Sample usage:

User-added image


Sample output for an Xray server with problems:

User-added image


The above output describes the overall status of the server which will include the status of a variety of parameters and the conditions that are being monitored. Note that some notifications may be categorized as "warnings" or "errors" depending on the severity of the condition.