Metrics
更新时间: 2026/06/26
在Gitcode上查看源码

ResourceDefinition

uris

  • /redfish/v1/Systems/system_id/Storage/storage_id/Controllers/storagecontroller_id/Metrics

properties

名称类型是否只读取值范围/枚举值说明
@odata.contextstringtrue-存储控制器指标资源模型的OData描述信息
@odata.idstringtrue-存储控制器指标资源的访问路径
@odata.typestringtrue-存储控制器指标资源的类型
Idstringtrue-存储控制器指标资源的ID
Namestringtrue-存储控制器指标的名称
UncorrectableParityErrorCountnumbertrue-存储控制器内存生命周期内不可纠正奇偶校验错误的数量
UncorrectableECCErrorCountnumbertrue-存储控制器内存寿命期间的不可纠正错误的数量

supported_methods

  • GET

HTTP methods

GET

命令功能

查询指定存储控制器指标资源信息

命令格式

URL: https://device_ip/redfish/v1/Systems/system_id/Storage/storage_id/Controllers/storagecontroller_id/Metrics

请求头:


X-Auth-Token: 123456789***********************

请求消息体: 无

参数说明

参数参数说明取值
device_ip登录设备的IP地址IPv4或IPv6地址
system_id系统资源的ID参见源文件参数说明
auth_value请求消息的鉴权参数可通过/redfish/v1/SessionService/Sessions创建会话时获得

使用指南

BMC300 5.12.0 及以上版本支持。

使用实例

请求样例:

http
GET https://device_ip/redfish/v1/Systems/system_id/Storage/storage_id/Controllers/storagecontroller_id/Metrics

X-Auth-Token: 123456789***********************

请求消息体:无

响应样例:

json
{
  "@odata.context": "/redfish/v1/$metadata#StorageControllerMetrics.StorageControllerMetrics",
  "@odata.id": "/redfish/v1/Systems/1/Storage/RAIDStorage0/Controllers/0/Metrics",
  "@odata.type": "#StorageControllerMetrics.v1_1_0.StorageControllerMetrics",
  "Id": "Metrics",
  "Name": "Storage Controller Metrics",
  "UncorrectableParityErrorCount": 0,
  "UncorrectableECCErrorCount": 0
}

响应码:200