Revision Date Author Comments
# 6c5cc06e 14-Jul-2025 Peter Yin <peter.yin@quantatw.com>

meta-facebook: harma: add SMC event log for health-mmc monitoring

Monitor health-mmc status to log an SMC event when issues are detected
or when MMC update completes, improving system observability.

meta-facebook: harma: add SMC event log for health-mmc monitoring

Monitor health-mmc status to log an SMC event when issues are detected
or when MMC update completes, improving system observability.

'''
"4": {
"additional_data": {
"FAILURE_TYPE": "health-mmc",
"IDENTIFIER": "/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/smc0",
"_CODE_FILE": "/usr/src/debug/phosphor-logging/1.0+git/log_create_main.cpp",
"_CODE_FUNC": "int generate_event(const std::string&, const nlohmann::json_abi_v3_11_3::json&)",
"_CODE_LINE": "34",
"_PID": "1076"
},
"event_id": "",
"message": "xyz.openbmc_project.State.SMC.SMCFailed",
"redfish": {
"args": [
"/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/smc0"
],
"id": "OpenBMC_StateSMC.SMCFailed",
"message": "The Satellite Management Controller '/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/smc0' is in a failure state."
},
"resolution": "",
"resolved": true,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Error",
"timestamp": "2025-07-14T09:39:10.403000000Z",
"updated_timestamp": "2025-07-14T09:39:25.462000000Z"
},
"5": {
"additional_data": {
"IDENTIFIER": "/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/smc0",
"_CODE_FILE": "/usr/src/debug/phosphor-logging/1.0+git/log_create_main.cpp",
"_CODE_FUNC": "int generate_event(const std::string&, const nlohmann::json_abi_v3_11_3::json&)",
"_CODE_LINE": "34",
"_PID": "1107"
},
"event_id": "",
"message": "xyz.openbmc_project.State.SMC.SMCRestored",
"redfish": {
"args": [
"/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/smc0"
],
"id": "OpenBMC_StateSMC.SMCRestored",
"message": "The Satellite Management Controller '/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/smc0' is in a restored state."
},
"resolution": "",
"resolved": false,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Informational",
"timestamp": "2025-07-14T09:39:26.963000000Z",
"updated_timestamp": "2025-07-14T09:39:26.963000000Z"
},
'''

Change-Id: I71bbdcc5ba361543e373e5c43e722f0f14a54239
Signed-off-by: Peter Yin <peter.yin@quantatw.com>

show more ...