The following endpoint returns the disk space of the CA Gateway server for a group.
https://{host}:9444/{management.endpoints.web.base-path}/health/{group}/diskSpaceWhere:
{host}is the is the hostname or IP address of the CA Gateway host server.{management.endpoints.web.base-path}is the value of themanagement.endpoints.web.base-pathparameter in theapplication.ymlconfiguration file.{group}is one of the groups listed by the health endpoint.
To enable this health endpoint, you must configure the management.endpoints.web.exposure.include parameter in the application.yml file.
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}}