The following endpoint returns the disk space of the CA Gateway server for a group.
To enable this health endpoint, you must configure the management.endpoints.web.exposure.include parameter.
https://{host}:{port}/{management.endpoints.web.base-path}/health/{group}/diskSpaceSee the table below for a description of each field.
Field | Value |
|---|---|
{host} | The hostname or IP address of the CA Gateway host server |
{port} | The port of the CA Gateway service |
{management.endpoints.web.base-path} | The value of the management.endpoints.web.base-path parameter |
| One of the groups listed by the health endpoint |
For example, to check the disk space for the custom group.
https://localhost:9444/cagw/management/actuator/health/custom/diskSpaceIf the server is up, this endpoint will return a response like the following.
{"status":"UP","details":{"total":1013309239296,"free":765931622400,"threshold":10485760,"exists":true}}