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

ResourceDefinition

uris

  • /redfish/v1/RegistryStore/Messages/en/{file_id}

properties

名称类型是否只读取值范围/枚举值说明
@odata.typestringtrue-注册文件资源类型
Idstringtrue-注册文件资源ID
Namestringtrue-注册文件的名称
Languagestringtrue-注册文件的语言
Descriptionstringtrue-注册文件的描述信息
RegistryPrefixstringtrue-注册文件名称前缀
RegistryVersionstringtrue-注册文件版本
OwningEntitystringtrue-注册文件所属公司
Messagesobjecttrue-
Messages.MessageIdstringtrue-事件ID
Messages.Descriptionstringtrue-事件对象的描述信息
Messages.Messagestringtrue-事件描述
Messages.SeveritystringtrueOK,Warning,Critical严重性级别
● OK
● Warning
● Critical
Messages.NumberOfArgsnumbertrue-事件描述参数个数
Messages.ParamTypesarraytrue-参数类型列表
Messages.Resolutionstringtrue-事件处理建议
Messages.Oemobjecttrue-自定义属性
Messages.Oem.Publicobjecttrue-自定义属性
Messages.Oem.Public.@odata.typestringtrue-事件资源类型
Messages.Oem.Public.EventIdstringtrue-事件码
Messages.Oem.Public.EventNamestringtrue-事件名
Messages.Oem.Public.EventEffectstringtrue-事件影响
Messages.Oem.Public.EventCausestringtrue-事件原因

supported_methods

  • GET

HTTP methods

GET

命令功能

查询归档的 BMC 事件上报注册文件资源

命令格式

URL: https://device_ip/redfish/v1/RegistryStore/Messages/en/file_id

请求头:


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

请求消息体: 无

参数说明

参数参数说明取值
device_ip登录设备的IP地址IPv4或IPv6地址
file_idBMC事件上报注册文件名可通过单个归档资源查询接口:redfish/v1/Registries/registries_id查询BMCEvents时获得
auth_value执行该GET请求时,必须在"Headers"中携带"X-Auth-Token"值用于鉴权可通过/redfish/v1/SessionService/Sessions创建会话时获得

使用指南

使用实例

请求样例:

http
GET https://device_ip/redfish/v1/RegistryStore/Messages/en/iBMCEvents.v2_8_3.json

请求头:

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

响应样例:

json
{
  "@odata.type": "#Message.v1_0_0.Message",
  "Id": "iBMCEvents.2.8.3",
  "Name": "iBMC Event Registry",
  "Language": "en",
  "Description": "This registry defines the events for Redfish",
  "RegistryPrefix": "iBMCEvents",
  "RegistryVersion": "2.8.3",
  "OwningEntity": "",
  "Messages": {
    "ResourceUpdated": {
      "Description": "Resource updated.",
      "Message": "Resource updated.",
      "Severity": "OK",
      "NumberOfArgs": 0,
      "ParamTypes": [],
      "Resolution": null,
      "Oem": {
        "Public": {
          "@odata.type": "#HwBMCEvent.v1_0_0.HwBMCEvent",
          "EventId": null,
          "EventName": null,
          "EventEffect": null,
          "EventCause": null
        }
      }
    },
    "BMCNTPSynchronizeFailed": {
      "Description": null,
      "Message": "iBMC failed to synchronize time with the NTP server.",
      "Severity": "OK",
      "NumberOfArgs": 0,
      "ParamTypes": [],
      "Resolution": "1. Check whether the NTP server is configured correctly. 2. Check communication between the iBMC and the NTP server. 3. Restart the NTP service on the iBMC.",
      "Oem": {
        "Public": {
          "@odata.type": "#HwBMCEvent.v1_0_0.HwBMCEvent",
          "EventId": "0x1A00002B",
          "EventName": "BMCNTPSynchronizeFailed",
          "EventEffect": null,
          "EventCause": null
        }
      }
    },
    "ChassisInletOverTempMajor": {
      "Description": null,
      "Message": "The air inlet temperature (%1 degrees C) exceeds the overtemperature threshold (%2 degrees C).",
      "Severity": "Warning",
      "NumberOfArgs": 2,
      "ParamTypes": [
        "string",
        "string"
      ],
      "Resolution": "1. Check the equipment room temperature. 2. Check for air inlet blockage. 3. Check for vacant slots and missing air baffles. Install filler panels in vacant slots and air baffles.",
      "Oem": {
        "Public": {
          "@odata.type": "#HwBMCEvent.v1_0_0.HwBMCEvent",
          "EventId": "0x12000003",
          "EventName": "ChassisInletOverTempMajor",
          "EventEffect": "The system stability is affected.",
          "EventCause": "1. The ambient temperature is too high. 2. The air inlet is blocked. 3. The server has empty slots or spaces. 4. The component holding the air inlet sensor is faulty."
        }
      }
    }
  }
}

响应码:200