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/ffdc/ffdc_config.yaml b/ffdc/ffdc_config.yaml
index e89dbc7..fae7a81 100644
--- a/ffdc/ffdc_config.yaml
+++ b/ffdc/ffdc_config.yaml
@@ -87,6 +87,7 @@
- "pldmtool fru getfrurecordtable>/tmp/PLDM_fru_record.txt"
- "killall -s SIGUSR1 pldmd; sleep 5"
- "fanctl dump"
+ - "killall -s SIGUSR1 phosphor-fan-monitor; sleep 5"
- "cat /var/lib/phosphor-software-manager/pnor/rw/DEVTREE >
/tmp/DEVTREE"
- "cat /home/root/bmcweb_persistent_data.json >
@@ -116,6 +117,7 @@
- "/tmp/PLDM_fru_record.txt"
- "/tmp/pldm_flight_recorder"
- "/tmp/fan_control_dump.json"
+ - "/tmp/fan_monitor_dump.json"
- "/tmp/DEVTREE"
- "/tmp/bmcweb_persistent_data.json"
PROTOCOL: