跳到主要内容

GET – IPMI 诊断日志服务

使用 GET 方法检索服务器的 IPMI 诊断日志服务资源中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/DiagnosticLog

请求正文

响应正文

字段类型描述

DateTimeLocalOffset

字符串

当前日期时间的偏移量

Description

字符串

“This resource is used to represent a log service for a Redfish implementation.”

Entries

链接

每个日志条目的链接

Name

字符串

“LogService”

ServiceEnabled

布尔

True

Id

字符串

“DiagnosticLog”

MaxNumberOfRecords

整数

3(Manager(FFDC)、OS(故障屏幕)以及 OEM(MPFA))

DateTime

字符串

当前日期时间的“格式”:“日期时间”

OverWritePolicy

字符串

枚举字符串“WrapsWhenFull”

LogEntryType

字符串

枚举字符串“Multiple”

Actions

对象

已展开

 

#LogService.CollectDiagnosticData

对象 

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

{
"@odata.type": "#LogService.v1_3_0.LogService",
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog",
"@odata.etag": "\"6ab575b7abaf242f460\"",
"MaxNumberOfRecords": 3,
"Oem": {
"Lenovo": {
"@odata.type": "#LenovoLogService.v1_0_0.LenovoLogServiceProperties",
"MPFA_LastSeqNum": 31,
"MPFA_FirstSeqNum": 1
}
},
"DateTime": "2022-12-16T00:54:51+00:00",
"Entries": {
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries"
},
"Id": "DiagnosticLog",
"@odata.context": "/redfish/v1/$metadata#LogService.LogService",
"Actions": {
"#LogService.CollectDiagnosticData": {
"target": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Actions/LogService.CollectDiagnosticData",
"title": "CollectDiagnosticData"
}
},
"DateTimeLocalOffset": "+00:00",
"Description": "This resource is used to represent a log service for a Redfish implementation.",
"LogEntryType": "Multiple",
"ServiceEnabled": true,
"OverWritePolicy": "WrapsWhenFull",
"Name": "LogService"
}