Add host error event monitor
Add host error event monitor to record event found by host-error-monitor
and then add IPMI SEL record to journal.
Tested:
Test with the following PRs:
https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59127
https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59129
https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59130
Trigger host error and check result in "ipmitool sel" is as expected.
Signed-off-by: JinFuLin <JeffLin2@quantatw.com>
Change-Id: I72a49d62d9c3c4248ed8d748aebe2c8171221078
diff --git a/meson_options.txt b/meson_options.txt
index 1a1cd51..81ab2f6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -6,6 +6,8 @@
description: 'Automatically log SEL records for watchdog events')
option('log-alarm', type: 'boolean',
description: 'Monitor threshold alarm signals and log SEL records for threshold sensor events')
+option('log-host', type: 'boolean',
+ description: 'Automatically log SEL records for host error events')
option('send-to-logger', type: 'boolean',
description: 'Automatically log events to Redfish for pulse type assert-deassert sensor events')
option('clears-sel', type: 'boolean',