phosphor-debug-collector

Jayanth Othayoth ojayanth at gmail.com
Mon Jun 21 17:27:42 AEST 2021


Design Document link :
https://github.com/openbmc/docs/blob/master/designs/dump-manager.md

BMC Dump Redfish interface details . I will get this updated in Readme .

Create bmc Dump
curl -k -H "X-Auth-Token: $bmc_token" -X POST
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.CollectDiagnosticData
-d '{"DiagnosticDataType":"Manager"}'Get BMC dump entries
curl -k -H "X-Auth-Token: $bmc_token" -X GET
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/EntriesDelete
all BMC dumps
curl -k -H "X-Auth-Token: $bmc_token" -X POST
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.ClearLogGet
particular BMC dump details
curl -k -H "X-Auth-Token: $bmc_token" -X DELETE
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Entries/<dump-id>Download
BMC dump
curl -k -H "X-Auth-Token: $bmc_token" -X GET
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/attachment/<dump-id>
 > BMC_dump.tar.gzGet BMC dump Progress
curl -k -H "X-Auth-Token: $bmc_token" -X GET
https://${BMC_IP}/redfish/v1/TaskService/Tasks/<task_ID>


On Fri, Jun 18, 2021 at 1:32 AM Mahesh Kurapati <
mahesh.kurapati at keysight.com> wrote:

> Hello,
>
>
>
> How to use the services of phosphor-debug-collector? Readme says it can
> help retrieve the debug data for debugging.  How to collect this
> data/trigger the log collection?
>
>
>
> Thank you,
> Mahesh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210621/d080db6e/attachment.htm>


More information about the openbmc mailing list