summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen,Yugang <yugang.chen@linux.intel.com>2019-08-15 01:44:44 +0300
committerChen,Yugang <yugang.chen@linux.intel.com>2019-08-15 01:47:57 +0300
commitb76f9ca126d5c1abcd8b833a511d784531dbb3a1 (patch)
treeaad2905512aada99a7721e4235f5f935118aab48
parentb6a61a5ec6aa3509c7dccad521e3850c71008a7a (diff)
downloadbmcweb-b76f9ca126d5c1abcd8b833a511d784531dbb3a1.tar.xz
Register redfish log
need to Log SSB Thermaltrip and NmiDiagInt(NMI Diagnostic Interrupt) to redfish. tested: Press NMI button, host shows NMI BSOD, and see BMC redfish's log. Trigger SSB Thermaltrip, can see its redfish log. Change-Id: I8f5b41dd6f381b3a70a45bbb851f2ba1657d2ec0 Signed-off-by: Chen,Yugang <yugang.chen@linux.intel.com>
-rw-r--r--redfish-core/include/registries/openbmc_message_registry.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 3fb87e4983..5e61a96844 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -522,6 +522,16 @@ const std::array registry = {
.paramTypes = {},
.resolution = "None.",
}},
+ MessageEntry{"NMIDiagnosticInterrupt",
+ {
+ .description = "Indicates that an NMI Diagnostic "
+ "Interrupt has been generated.",
+ .message = "NMI Diagnostic Interrupt.",
+ .severity = "Critical",
+ .numberOfArgs = 0,
+ .paramTypes = {},
+ .resolution = "None.",
+ }},
MessageEntry{
"PCIeCorrectableAdvisoryNonFatal",
{
@@ -1238,6 +1248,17 @@ const std::array registry = {
},
.resolution = "None.",
}},
+ MessageEntry{
+ "SsbThermalTrip",
+ {
+ .description =
+ "Indicates that an SSB Thermal trip has been asserted.",
+ .message = "SSB Thermal trip.",
+ .severity = "Critical",
+ .numberOfArgs = 0,
+ .paramTypes = {},
+ .resolution = "None.",
+ }},
MessageEntry{"SystemPowerLost",
{
.description = "Indicates that power was lost while the "