Health Monitor:Get Storage Stats

Search (SHIFT+S)

API Reference


Get Storage Stats

GET /monitor/storage

Get the current capacity for object, file and block storage.


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR

Response Body

Storage stats for controller (file & block) and object.

Field Description Type Notes
<storage_stats>
<controller>    
<file_managed_capacity_kb> Double
<block_managed_capacity_kb> Double
<object_managed_capacity_kb> Double
<free_managed_capacity_kb> Double
</controller>      
</storage_stats>

Examples

Request
GET https://192.168.0.0:4443/monitor/storage HTTP/1.1

Content-Type: application/xml 
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<storage_stats>
  <controller>
    <block_managed_capacity_kb>1.0498816E7</block_managed_capacity_kb>
    <file_managed_capacity_kb>1048576.0</file_managed_capacity_kb>
    <free_managed_capacity_kb>4.156111114268E12</free_managed_capacity_kb>
  </controller>
</storage_stats>
Notes: