Get all instances' health details per tenant
The following API GET call retrieves the health status of all OHS instances for a single tenant.
Variable | Description |
---|---|
TenantId |
Tenant Management Tenant ID GUID. |
CorrelationId |
Correlation identifier GUID as set by the requester for tracking requests to responses. |
Sample cURL Request
curl --location --request GET 'https://k8s.itrontotal.com/ihcconfiggateway/api/v1/tenants/{Tenantid}/instanceshealth'
--header 'Content-Type: application/json'
--header 'Grpc-Metadata-CorrelationId: {Correlationid}'
--header 'Authorization: Bearer eyJhbGciOiJSUzI1'
Sample JSON Response
{ "ohsHealthDetails": [ { "tenantId": "97a889a7-66ec-4c4d-bb4d-f15e6702d19e", "instanceId": "71706642-da65-4969-a608-550956424d06", "instanceName": "TestHealchConfigCheck", "status": "NotKnown" }, { "tenantId": "97a889a7-66ec-4c4d-bb4d-f15e6702d19e", "instanceId": "759d86b1-5343-4d17-8a4e-2a3fc2552356", "instanceName": "demoinstance123454", "version": "2.4.0.9", "status": "Passed", "statusDetails": [ { "testName": "Minimum Diskspace check", "testStatus": "Passed", "testResult": "System has enough space to run OHS", "severity": "Medium", "supportedFeature": "Resources and Permissions" }, { "testName": "RabbitMQ connectivity check", "testStatus": "Passed", "testResult": "Rabbit Mq Connection details are valid", "severity": "High", "supportedFeature": "Connectivity Checks" }, { "testName": "CPU, Memory utilization check", "testStatus": "Passed", "testResult": "System is having normal CPU and Memory Utilization", "severity": "High", "supportedFeature": "Resources and Permissions" }, { "testName": "Hybrid Connector Workspace folder permission check", "testStatus": "Passed", "testResult": "User has RW permission for OHS service.", "severity": "Medium", "supportedFeature": "Resources and Permissions" } ], "statusReceivedDate": "2020-11-20T06:01:49.131Z", "initiatedBy": "System" } ] }