Log collector: add new fan monitor log collection
Changes:
- Added command to force dump fan monitor log
on BMC.
- Added the command on robot and CLI FFDC script.
Tested:
- Ran from sandbox.
Change-Id: I70878b3eee24ccb62432ee73178d88f15bc4d7a5
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index b95b2b1..cd7dd3f 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -104,6 +104,7 @@
),
"GUARD_list.txt": "guard -l > /tmp/GUARD_list.txt 2>&1",
"fan_control_dump.json": "fanctl dump; sleep 5",
+ "fan_monitor_dump.json": "killall -s SIGUSR1 phosphor-fan-monitor; sleep 5",
"DEVTREE": (
"cat /var/lib/phosphor-software-manager/pnor/rw/DEVTREE >"
" /tmp/DEVTREE 2>&1"