xref: /openbmc/openbmc-test-automation/ffdc/ffdc_config.yaml (revision d7642fca75fe5c612bd3a9840f62cb06d559222e)
172ce6b85SPeter D  Phan---
272ce6b85SPeter D  Phan# This yaml formatted file contains defaults items to collect FFDC for the targeted system
372ce6b85SPeter D  Phan# COMMANDS - List of commands to be run on the corresponding targeted system (inband)
472ce6b85SPeter D  Phan#            to generate and/or collect data
572ce6b85SPeter D  Phan# FILES    - List of files; with complete path; on the corresponding targeted system
672ce6b85SPeter D  Phan#            to be copied to external destination
772ce6b85SPeter D  Phan# PROTOCOL - Protocol used to communicate with targeted system; ssh, Rest, redfish, etc
872ce6b85SPeter D  Phan#
972ce6b85SPeter D  Phan# Note: Items in COMMANDS and FILES are not necessarily one-to-one correspondence.
1072ce6b85SPeter D  Phan#       For example, a file could have been created by an internal process,
1172ce6b85SPeter D  Phan#       and is listed in FILES to be collected.
1204aca3b4SPeter D  Phan#
132b8052dcSPeter D  Phan
146ea92b08SGeorge Keishing# Commands and Files to collect for a given OpenBMC system.
156ea92b08SGeorge KeishingOPENBMC:
162b8052dcSPeter D  Phan    # Commands and File to take snapshot of linux based system.
172b8052dcSPeter D  Phan    # Filename is <OS>_general.txt, where <OS> is in [OPENBMC, RHEL, UBUNTU]
182b8052dcSPeter D  Phan    GENERAL:
192b8052dcSPeter D  Phan        COMMANDS:
2012e33526SPatrick Williams            - "rm -rf /tmp/*BMC_* /tmp/PEL_* /tmp/pldm* /tmp/PLDM* /tmp/GUARD*
2112e33526SPatrick Williams              /tmp/fan_* /tmp/DEVTREE /tmp/bmcweb_*"
2212e33526SPatrick Williams            - 'echo "++++++++++ cat /etc/os-release ++++++++++" >>
2312e33526SPatrick Williams              /tmp/OPENBMC_general.txt'
2412e33526SPatrick Williams            - "cat /etc/os-release >> /tmp/OPENBMC_general.txt"
2512e33526SPatrick Williams            - 'echo -e "\n++++++++++ cat /etc/timestamp ++++++++++" >>
2612e33526SPatrick Williams              /tmp/OPENBMC_general.txt'
2712e33526SPatrick Williams            - "cat /etc/timestamp >> /tmp/OPENBMC_general.txt"
2812e33526SPatrick Williams            - 'echo -e "\n++++++++++ uname -a ++++++++++" >>
2912e33526SPatrick Williams              /tmp/OPENBMC_general.txt'
3012e33526SPatrick Williams            - "uname -a >> /tmp/OPENBMC_general.txt"
3112e33526SPatrick Williams            - 'echo -e "\n++++++++++ cat /etc/timestamp ++++++++++" >>
3212e33526SPatrick Williams              /tmp/OPENBMC_general.txt'
3312e33526SPatrick Williams            - "cat /etc/timestamp >> /tmp/OPENBMC_general.txt"
3412e33526SPatrick Williams            - 'echo -e "\n++++++++++ uptime;cat /proc/uptime ++++++++++" >>
3512e33526SPatrick Williams              /tmp/OPENBMC_general.txt'
3612e33526SPatrick Williams            - "uptime >> /tmp/OPENBMC_general.txt"
3712e33526SPatrick Williams            - "cat /proc/uptime >> /tmp/OPENBMC_general.txt"
3812e33526SPatrick Williams            - 'echo -e "\n++++++++++ df -hT ++++++++++" >>
3912e33526SPatrick Williams              /tmp/OPENBMC_general.txt'
4012e33526SPatrick Williams            - "df -hT >> /tmp/OPENBMC_general.txt"
4112e33526SPatrick Williams            - 'echo -e "\n++++++++++ date;/sbin/hwclock --show ++++++++++" >>
4212e33526SPatrick Williams              /tmp/OPENBMC_general.txt'
4312e33526SPatrick Williams            - "date >> /tmp/OPENBMC_general.txt"
4412e33526SPatrick Williams            - "/sbin/hwclock --show >> /tmp/OPENBMC_general.txt"
4512e33526SPatrick Williams            - "/usr/bin/timedatectl >> /tmp/OPENBMC_general.txt"
4612e33526SPatrick Williams            - 'echo -e "\n++++++++++ /usr/bin/obmcutil state ++++++++++" >>
4712e33526SPatrick Williams              /tmp/OPENBMC_general.txt'
4812e33526SPatrick Williams            - "/usr/bin/obmcutil state >> /tmp/OPENBMC_general.txt"
492b8052dcSPeter D  Phan        FILES:
5012e33526SPatrick Williams            - "/tmp/OPENBMC_general.txt"
512b8052dcSPeter D  Phan        PROTOCOL:
5212e33526SPatrick Williams            - "SSH"
5372ce6b85SPeter D  Phan
546ea92b08SGeorge Keishing    OPENBMC_LOGS:
5572ce6b85SPeter D  Phan        COMMANDS:
5612e33526SPatrick Williams            - "cat /sys/class/watchdog/watchdog1/bootstatus
5712e33526SPatrick Williams              >/tmp/BMC_flash_side.txt"
5812e33526SPatrick Williams            - "grep -r . /sys/class/hwmon/* >/tmp/BMC_hwmon.txt"
5912e33526SPatrick Williams            - "top -n 1 -b >/tmp/BMC_proc_list.txt"
6012e33526SPatrick Williams            - "ls -Al /proc/*/fd/ >/tmp/BMC_proc_fd_active_list.txt"
61c42f5bf5SSridevi Ramesh            - "journalctl -o short-precise >/tmp/BMC_journalctl.txt"
6212e33526SPatrick Williams            - "journalctl -o json-pretty >/tmp/BMC_journalctl_pretty.json"
6312e33526SPatrick Williams            - "dmesg >/tmp/BMC_dmesg.txt"
6412e33526SPatrick Williams            - "cat /proc/cpuinfo >/tmp/BMC_procinfo.txt"
6512e33526SPatrick Williams            - "cat /proc/meminfo >/tmp/BMC_meminfo.txt"
6612e33526SPatrick Williams            - "systemctl status --all >/tmp/BMC_systemd.txt"
6712e33526SPatrick Williams            - "systemctl list-units --failed >/tmp/BMC_failed_service.txt"
6812e33526SPatrick Williams            - "systemctl list-jobs >/tmp/BMC_list_service.txt"
6912e33526SPatrick Williams            - "cat /var/log/obmc-console.log >/tmp/BMC_obmc_console.txt"
7012e33526SPatrick Williams            - "cat /var/log/obmc-console1.log >/tmp/BMC_obmc_console1.txt"
7112e33526SPatrick Williams            - "peltool -l >/tmp/PEL_logs_list.json"
7212e33526SPatrick Williams            - { "peltool -a >/tmp/PEL_logs_display.json": 600 }
7312e33526SPatrick Williams            - {
7412e33526SPatrick Williams                  "peltool  -l -a -f >/tmp/PEL_logs_complete_list.json 2>&1": 1200,
7512e33526SPatrick Williams              }
7612e33526SPatrick Williams            - {
7712e33526SPatrick Williams                  "peltool -a -f -h>/tmp/PEL_logs_complete_display.json 2>&1": 1200,
7812e33526SPatrick Williams              }
7912e33526SPatrick Williams            - "hexdump -C /var/lib/phosphor-logging/extensions/pels/badPEL
8012e33526SPatrick Williams              >/tmp/PEL_logs_badPEL.txt"
8112e33526SPatrick Williams            - "guard -l >/tmp/GUARD_list.txt"
8212e33526SPatrick Williams            - "pldmtool fru getfrurecordtable>/tmp/PLDM_fru_record.txt"
8312e33526SPatrick Williams            - "killall -s SIGUSR1 pldmd; sleep 5"
8412e33526SPatrick Williams            - "fanctl dump"
85326e41b1SGeorge Keishing            - "killall -s SIGUSR1 phosphor-fan-monitor; sleep 5"
8612e33526SPatrick Williams            - "cat /var/lib/phosphor-software-manager/pnor/rw/DEVTREE >
8712e33526SPatrick Williams              /tmp/DEVTREE"
88ecf4428cSGeorge Keishing            - "/usr/bin/vpd-tool -i > /tmp/vpd-inventory.txt"
89706785cdSGeorge Keishing            - "cat /sys/kernel/tracing/trace > /tmp/kernel_sys_trace.txt"
9072ce6b85SPeter D  Phan        FILES:
9112e33526SPatrick Williams            - "/tmp/BMC_flash_side.txt"
9212e33526SPatrick Williams            - "/tmp/BMC_hwmon.txt"
9312e33526SPatrick Williams            - "/tmp/BMC_proc_list.txt"
9412e33526SPatrick Williams            - "/tmp/BMC_proc_fd_active_list.txt"
95*d7642fcaSGeorge Keishing            - "/tmp/BMC_journalctl.txt"
9612e33526SPatrick Williams            - "/tmp/BMC_journalctl_pretty.json"
9712e33526SPatrick Williams            - "/tmp/BMC_dmesg.txt"
9812e33526SPatrick Williams            - "/tmp/BMC_procinfo.txt"
9912e33526SPatrick Williams            - "/tmp/BMC_meminfo.txt"
10012e33526SPatrick Williams            - "/tmp/BMC_systemd.txt"
10112e33526SPatrick Williams            - "/tmp/BMC_failed_service.txt"
10212e33526SPatrick Williams            - "/tmp/BMC_list_service.txt"
10312e33526SPatrick Williams            - "/tmp/BMC_obmc_console.txt"
10412e33526SPatrick Williams            - "/tmp/BMC_obmc_console1.txt"
10512e33526SPatrick Williams            - "/tmp/PEL_logs_list.json"
10612e33526SPatrick Williams            - "/tmp/PEL_logs_complete_list.json"
10712e33526SPatrick Williams            - "/tmp/PEL_logs_complete_display.json"
10812e33526SPatrick Williams            - "/tmp/PEL_logs_display.json"
10912e33526SPatrick Williams            - "/tmp/PEL_logs_badPEL.txt"
11012e33526SPatrick Williams            - "/tmp/GUARD_list.txt"
11112e33526SPatrick Williams            - "/tmp/PLDM_fru_record.txt"
11212e33526SPatrick Williams            - "/tmp/pldm_flight_recorder"
11312e33526SPatrick Williams            - "/tmp/fan_control_dump.json"
114326e41b1SGeorge Keishing            - "/tmp/fan_monitor_dump.json"
11512e33526SPatrick Williams            - "/tmp/DEVTREE"
116ecf4428cSGeorge Keishing            - "/tmp/vpd-inventory.txt"
117706785cdSGeorge Keishing            - "/tmp/kernel_sys_trace.txt"
11872ce6b85SPeter D  Phan        PROTOCOL:
11912e33526SPatrick Williams            - "SSH"
12072ce6b85SPeter D  Phan
121babf2969SPeter D  Phan    # DUMP_LOGS: This section provides option to 'SCP if file exist'.
122e86d9a54SPeter D  Phan    #     COMMANDS: filename is preceded by ls -AX '.
123babf2969SPeter D  Phan    #     FILES: is not needed and is ignored if exists.
1246ea92b08SGeorge Keishing    DUMP_LOGS:
12556429a65SPeter D  Phan        COMMANDS:
12612e33526SPatrick Williams            - "ls -AX /var/lib/systemd/coredump/core.*"
12712e33526SPatrick Williams            - "ls -AX /var/lib/phosphor-debug-collector/dumps/*/*"
12812e33526SPatrick Williams            - "ls -AX /var/lib/phosphor-debug-collector/hostbootdump/*/*"
12956429a65SPeter D  Phan        PROTOCOL:
13012e33526SPatrick Williams            - "SCP"
13156429a65SPeter D  Phan
1320c66977bSPeter D  Phan    # URLs and Files for OPENBMC redfish
1330c66977bSPeter D  Phan    # URLs and Files are one-to-one corresponding.
1340c66977bSPeter D  Phan    # File contains the data returned from 'redfishtool GET URL'
1356ea92b08SGeorge Keishing    REDFISH_LOGS:
136506b058fSGeorge Keishing        COMMANDS:
137e8a4175bSGeorge Keishing            - redfishtool -u ${username} -p ${password} -r
138e8a4175bSGeorge Keishing              ${hostname}:${port_https} -S Always raw GET
139e8a4175bSGeorge Keishing              /redfish/v1/AccountService/Accounts
140e8a4175bSGeorge Keishing            - redfishtool -u ${username} -p ${password} -r
141e8a4175bSGeorge Keishing              ${hostname}:${port_https} -S Always raw GET
1424d430283Sganesanb              /redfish/v1/Managers/${manager_id}/LogServices/Dump/Entries
143e8a4175bSGeorge Keishing            - redfishtool -u ${username} -p ${password} -r
144e8a4175bSGeorge Keishing              ${hostname}:${port_https} -S Always raw GET
145e8a4175bSGeorge Keishing              /redfish/v1/Systems/system/LogServices/Dump/Entries
146e8a4175bSGeorge Keishing            - redfishtool -u ${username} -p ${password} -r
147e8a4175bSGeorge Keishing              ${hostname}:${port_https} -S Always raw GET
148e8a4175bSGeorge Keishing              /redfish/v1/Systems/system/LogServices/EventLog/Entries
14991308eaeSGeorge Keishing            - plugin:
15091308eaeSGeorge Keishing                  - plugin_name: plugin.redfish.enumerate_request
15191308eaeSGeorge Keishing                  - plugin_args:
1527a61aa2dSGeorge Keishing                        - ${hostname}:${port_https}
15391308eaeSGeorge Keishing                        - ${username}
15491308eaeSGeorge Keishing                        - ${password}
15591308eaeSGeorge Keishing                        - /redfish/v1/
15691308eaeSGeorge Keishing                        - json
1570c66977bSPeter D  Phan        FILES:
15812e33526SPatrick Williams            - "REDFISH_bmc_user_accounts.json"
15912e33526SPatrick Williams            - "REDFISH_bmc_dump_entries.json"
16012e33526SPatrick Williams            - "REDFISH_system_dumps_entries.json"
16112e33526SPatrick Williams            - "REDFISH_event_log_entries.json"
16212e33526SPatrick Williams            - "REDFISH_enumerate_v1.json"
1630c66977bSPeter D  Phan        PROTOCOL:
16412e33526SPatrick Williams            - "REDFISH"
1650c66977bSPeter D  Phan
166eafba188SGeorge Keishing    # Commands and Files to collect for via out of band IPMI.
1676ea92b08SGeorge Keishing    IPMI_LOGS:
168eafba188SGeorge Keishing        COMMANDS:
16912e33526SPatrick Williams            - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
170e8a4175bSGeorge Keishing              ${hostname} -p ${port_ipmi} lan print
17112e33526SPatrick Williams            - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
172e8a4175bSGeorge Keishing              ${hostname} -p ${port_ipmi} fru list
17312e33526SPatrick Williams            - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
174e8a4175bSGeorge Keishing              ${hostname} -p ${port_ipmi} user list
175eafba188SGeorge Keishing        FILES:
17612e33526SPatrick Williams            - "IPMI_LAN_print.txt"
17712e33526SPatrick Williams            - "IPMI_FRU_list.txt"
17812e33526SPatrick Williams            - "IPMI_USER_list.txt"
179eafba188SGeorge Keishing        PROTOCOL:
18012e33526SPatrick Williams            - "IPMI"
181eafba188SGeorge Keishing
18272ce6b85SPeter D  Phan# Commands and Files to collect for all Linux distributions
18372ce6b85SPeter D  PhanLINUX:
1846ea92b08SGeorge Keishing    LINUX_LOGS:
18572ce6b85SPeter D  Phan        COMMANDS:
18612e33526SPatrick Williams            - "cat /sys/firmware/opal/msglog >/tmp/OS_msglog.txt"
18712e33526SPatrick Williams            - "ppc64_cpu --frequency >/tmp/OS_cpufrequency.txt"
18812e33526SPatrick Williams            - "dmesg >/tmp/OS_dmesg.txt"
18912e33526SPatrick Williams            - "cat /var/log/opal-prd* >/tmp/OS_opal_prd.txt"
19012e33526SPatrick Williams            - "cat /var/log/boot.log >/tmp/OS_boot.txt"
19112e33526SPatrick Williams            - "cat /proc/cpuinfo >/tmp/OS_procinfo.txt"
19212e33526SPatrick Williams            - "cat /proc/meminfo >/tmp/OS_meminfo.txt"
19312e33526SPatrick Williams            - "netstat -a >/tmp/OS_netstat.txt"
19412e33526SPatrick Williams            - "lspci >/tmp/OS_lspci.txt"
19512e33526SPatrick Williams            - "lscpu >/tmp/OS_lscpu.txt"
19612e33526SPatrick Williams            - "lscfg >/tmp/OS_lscfg.txt"
19712e33526SPatrick Williams            - "journalctl --no-pager -b > /tmp/OS_journalctl_nopager.txt "
19872ce6b85SPeter D  Phan        FILES:
19912e33526SPatrick Williams            - "/tmp/OS_msglog.txt"
20012e33526SPatrick Williams            - "/tmp/OS_cpufrequency.txt"
20112e33526SPatrick Williams            - "/tmp/OS_dmesg.txt"
20212e33526SPatrick Williams            - "/tmp/OS_opal_prd.txt"
20312e33526SPatrick Williams            - "/tmp/OS_boot.txt"
20412e33526SPatrick Williams            - "/tmp/OS_procinfo.txt"
20512e33526SPatrick Williams            - "/tmp/OS_meminfo.txt"
20612e33526SPatrick Williams            - "/tmp/OS_netstat.txt"
20712e33526SPatrick Williams            - "/tmp/OS_lspci.txt"
20812e33526SPatrick Williams            - "/tmp/OS_lscpu.txt"
20912e33526SPatrick Williams            - "/tmp/OS_lscfg.txt"
21012e33526SPatrick Williams            - "/tmp/OS_journalctl_nopager.txt"
21172ce6b85SPeter D  Phan        PROTOCOL:
21212e33526SPatrick Williams            - "SSH"
21372ce6b85SPeter D  Phan
21472ce6b85SPeter D  Phan# Commands and Files to collect for Ubuntu Linux only
21504aca3b4SPeter D  PhanUBUNTU:
2160c0bdd4aSGeorge Keishing    GENERAL:
21772ce6b85SPeter D  Phan        COMMANDS:
21812e33526SPatrick Williams            - "rm -rf /tmp/UBUNTU_general.txt"
21912e33526SPatrick Williams            - 'echo "++++++++++ UBUNTU Rleasae ++++++++++" >
22012e33526SPatrick Williams              /tmp/UBUNTU_general.txt'
22112e33526SPatrick Williams            - "cat /etc/os-release >> /tmp/UBUNTU_general.txt"
22212e33526SPatrick Williams            - 'echo "\n++++++++++ Time stamp ++++++++++" >>
22312e33526SPatrick Williams              /tmp/UBUNTU_general.txt'
22412e33526SPatrick Williams            - "date >> /tmp/UBUNTU_general.txt"
22512e33526SPatrick Williams            - 'echo  "\n++++++++++ uname -a ++++++++++" >>
22612e33526SPatrick Williams              /tmp/UBUNTU_general.txt'
22712e33526SPatrick Williams            - "uname -a >> /tmp/UBUNTU_general.txt"
2280c0bdd4aSGeorge Keishing            - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/UBUNTU_general.txt'
22912e33526SPatrick Williams            - "uptime >> /tmp/UBUNTU_general.txt"
23072ce6b85SPeter D  Phan        FILES:
23112e33526SPatrick Williams            - "/tmp/UBUNTU_general.txt"
23286399c96SGeorge Keishing        PROTOCOL:
23312e33526SPatrick Williams            - "SSH"
2340c0bdd4aSGeorge Keishing    UBUNTU_LOGS:
2350c0bdd4aSGeorge Keishing        COMMANDS:
23612e33526SPatrick Williams            - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
23712e33526SPatrick Williams            - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
23812e33526SPatrick Williams            - "rm -rf /tmp/sosreport*FFDC*"
23912e33526SPatrick Williams            - {
240c17b9872SPatrick Williams                  ? "sosreport --batch --tmp-dir /tmp --label FFDC
241c17b9872SPatrick Williams                    >/tmp/OS_sosreport.txt"
242c17b9872SPatrick Williams                  : 1200,
24312e33526SPatrick Williams              }
24412e33526SPatrick Williams            - "tar -zcvf /tmp/crash.tar.gz /var/crash"
2450c0bdd4aSGeorge Keishing        FILES:
24612e33526SPatrick Williams            - "/tmp/OS_info.txt"
24712e33526SPatrick Williams            - "/tmp/OS_syslog.txt"
24812e33526SPatrick Williams            - "/tmp/OS_sosreport.txt"
24912e33526SPatrick Williams            - "/tmp/sosreport*.tar.xz"
25012e33526SPatrick Williams            - "/tmp/crash.tar.gz"
2510c0bdd4aSGeorge Keishing        PROTOCOL:
25212e33526SPatrick Williams            - "SSH"
2530c0bdd4aSGeorge Keishing    DUMP_LOGS:
2540c0bdd4aSGeorge Keishing        COMMANDS:
25512e33526SPatrick Williams            - "ls -AX /tmp/htx/htxerr"
25612e33526SPatrick Williams            - "ls -AX /tmp/htx/htxmsg"
2570c0bdd4aSGeorge Keishing        PROTOCOL:
25812e33526SPatrick Williams            - "SCP"
25986399c96SGeorge Keishing
26072ce6b85SPeter D  Phan# Commands and Files to collect for RHE Linux only
26104aca3b4SPeter D  PhanRHEL:
2620c0bdd4aSGeorge Keishing    GENERAL:
2630c0bdd4aSGeorge Keishing        COMMANDS:
26412e33526SPatrick Williams            - "rm -rf /tmp/RHEL_general.txt"
2650c0bdd4aSGeorge Keishing            - 'echo "++++++++++ RHEL Rleasae ++++++++++" > /tmp/RHEL_general.txt'
26612e33526SPatrick Williams            - "cat /etc/os-release >> /tmp/RHEL_general.txt"
26712e33526SPatrick Williams            - 'echo -e "\n++++++++++ Time stamp ++++++++++" >>
26812e33526SPatrick Williams              /tmp/RHEL_general.txt'
26912e33526SPatrick Williams            - "date >> /tmp/RHEL_general.txt"
27012e33526SPatrick Williams            - 'echo -e "\n++++++++++ uname -a ++++++++++" >>
27112e33526SPatrick Williams              /tmp/RHEL_general.txt'
27212e33526SPatrick Williams            - "uname -a >> /tmp/RHEL_general.txt"
2730c0bdd4aSGeorge Keishing            - 'echo -e "\n++++++++++ uptime ++++++++++" >> /tmp/RHEL_general.txt'
27412e33526SPatrick Williams            - "uptime >> /tmp/RHEL_general.txt"
2750c0bdd4aSGeorge Keishing        FILES:
27612e33526SPatrick Williams            - "/tmp/RHEL_general.txt"
2770c0bdd4aSGeorge Keishing        PROTOCOL:
27812e33526SPatrick Williams            - "SSH"
2796ea92b08SGeorge Keishing    RHEL_LOGS:
28072ce6b85SPeter D  Phan        COMMANDS:
28112e33526SPatrick Williams            - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
28212e33526SPatrick Williams            - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
28312e33526SPatrick Williams            - "rm -rf /tmp/sosreport*FFDC*"
28412e33526SPatrick Williams            - {
285c17b9872SPatrick Williams                  ? "sosreport --batch --tmp-dir /tmp --label FFDC
286c17b9872SPatrick Williams                    >/tmp/OS_sosreport.txt"
287c17b9872SPatrick Williams                  : 1200,
28812e33526SPatrick Williams              }
28912e33526SPatrick Williams            - "tar -zcvf /tmp/crash.tar.gz /var/crash"
29072ce6b85SPeter D  Phan        FILES:
29112e33526SPatrick Williams            - "/tmp/OS_info.txt"
29212e33526SPatrick Williams            - "/tmp/OS_syslog.txt"
29312e33526SPatrick Williams            - "/tmp/OS_sosreport.txt"
29412e33526SPatrick Williams            - "/tmp/sosreport*.tar.xz"
29512e33526SPatrick Williams            - "/tmp/crash.tar.gz"
29686399c96SGeorge Keishing        PROTOCOL:
29712e33526SPatrick Williams            - "SSH"
2980c0bdd4aSGeorge Keishing    DUMP_LOGS:
2990c0bdd4aSGeorge Keishing        COMMANDS:
30012e33526SPatrick Williams            - "ls -AX /tmp/htx/htxerr"
30112e33526SPatrick Williams            - "ls -AX /tmp/htx/htxmsg"
3020c0bdd4aSGeorge Keishing        PROTOCOL:
30312e33526SPatrick Williams            - "SCP"
30486399c96SGeorge Keishing
3055b43c227SGeorge Keishing# Commands and Files to collect for SLES Linux only
3065b43c227SGeorge KeishingSLES:
3070c0bdd4aSGeorge Keishing    GENERAL:
3080c0bdd4aSGeorge Keishing        COMMANDS:
30912e33526SPatrick Williams            - "rm -rf /tmp/SLES_general.txt"
3100c0bdd4aSGeorge Keishing            - 'echo "++++++++++ SLES Rleasae ++++++++++" > /tmp/SLES_general.txt'
31112e33526SPatrick Williams            - "cat /etc/os-release >> /tmp/SLES_general.txt"
31212e33526SPatrick Williams            - 'echo "\n++++++++++ Time stamp ++++++++++" >>
31312e33526SPatrick Williams              /tmp/SLES_general.txt'
31412e33526SPatrick Williams            - "date >> /tmp/SLES_general.txt"
3150c0bdd4aSGeorge Keishing            - 'echo "\n++++++++++ uname -a ++++++++++" >> /tmp/SLES_general.txt'
31612e33526SPatrick Williams            - "uname -a >> /tmp/SLES_general.txt"
3170c0bdd4aSGeorge Keishing            - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/SLES_general.txt'
31812e33526SPatrick Williams            - "uptime >> /tmp/SLES_general.txt"
3190c0bdd4aSGeorge Keishing        FILES:
32012e33526SPatrick Williams            - "/tmp/SLES_general.txt"
3210c0bdd4aSGeorge Keishing        PROTOCOL:
32212e33526SPatrick Williams            - "SSH"
3235b43c227SGeorge Keishing    SLES_LOGS:
3245b43c227SGeorge Keishing        COMMANDS:
32512e33526SPatrick Williams            - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
32612e33526SPatrick Williams            - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
32712e33526SPatrick Williams            - "rm -rf /tmp/scc*.txz.md5"
32812e33526SPatrick Williams            - { "supportconfig >/tmp/OS_supportconfig.txt": 1200 }
32912e33526SPatrick Williams            - "cp /var/log/scc*.txz.md5 /tmp/"
33012e33526SPatrick Williams            - "tar -zcvf /tmp/crash.tar.gz /var/crash"
3315b43c227SGeorge Keishing        FILES:
33212e33526SPatrick Williams            - "/tmp/OS_info.txt"
33312e33526SPatrick Williams            - "/tmp/OS_syslog.txt"
33412e33526SPatrick Williams            - "/tmp/OS_supportconfig.txt"
33512e33526SPatrick Williams            - "/tmp/scc*.txz.md5"
33612e33526SPatrick Williams            - "/tmp/crash.tar.gz"
3375b43c227SGeorge Keishing        PROTOCOL:
33812e33526SPatrick Williams            - "SSH"
3390c0bdd4aSGeorge Keishing    DUMP_LOGS:
3400c0bdd4aSGeorge Keishing        COMMANDS:
34112e33526SPatrick Williams            - "ls -AX /tmp/htx/htxerr"
34212e33526SPatrick Williams            - "ls -AX /tmp/htx/htxmsg"
3430c0bdd4aSGeorge Keishing        PROTOCOL:
34412e33526SPatrick Williams            - "SCP"
3455b43c227SGeorge Keishing
346a3f3f593SGeorge Keishing# Commands and Files to collect for AIX only
34704aca3b4SPeter D  PhanAIX:
3480c0bdd4aSGeorge Keishing    GENERAL:
3490c0bdd4aSGeorge Keishing        COMMANDS:
35012e33526SPatrick Williams            - "rm -rf /tmp/AIX_general.txt"
3510c0bdd4aSGeorge Keishing            - 'echo "++++++++++ AIX Release ++++++++++" > /tmp/AIX_general.txt'
35212e33526SPatrick Williams            - "cat /proc/version | tail -1 >> /tmp/AIX_general.txt"
3530c0bdd4aSGeorge Keishing            - 'echo "\n++++++++++ Time stamp ++++++++++" >> /tmp/AIX_general.txt'
35412e33526SPatrick Williams            - "date >> /tmp/AIX_general.txt"
3550c0bdd4aSGeorge Keishing            - 'echo  "\n++++++++++ uname -a ++++++++++" >> /tmp/AIX_general.txt'
35612e33526SPatrick Williams            - "uname -a >> /tmp/AIX_general.txt"
3570c0bdd4aSGeorge Keishing            - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/AIX_general.txt'
35812e33526SPatrick Williams            - "uptime >> /tmp/AIX_general.txt"
35912e33526SPatrick Williams            - 'echo "\n++++++++++ System Info ++++++++++" >>
36012e33526SPatrick Williams              /tmp/AIX_general.txt'
36112e33526SPatrick Williams            - "prtconf | head -15 >> /tmp/AIX_general.txt"
3620c0bdd4aSGeorge Keishing        FILES:
36312e33526SPatrick Williams            - "/tmp/AIX_general.txt"
3640c0bdd4aSGeorge Keishing        PROTOCOL:
36512e33526SPatrick Williams            - "SSH"
3666ea92b08SGeorge Keishing    AIX_LOGS:
367a3f3f593SGeorge Keishing        COMMANDS:
36812e33526SPatrick Williams            - "errpt -a >/tmp/OS_errpt.txt ; errclear 0;"
36912e33526SPatrick Williams            - "bindprocessor -q >/tmp/OS_processors.txt"
370a3f3f593SGeorge Keishing        FILES:
37112e33526SPatrick Williams            - "/tmp/OS_errpt.txt"
37212e33526SPatrick Williams            - "/tmp/OS_processors.txt"
373a3f3f593SGeorge Keishing        PROTOCOL:
37412e33526SPatrick Williams            - "SSH"
3750c0bdd4aSGeorge Keishing    DUMP_LOGS:
3760c0bdd4aSGeorge Keishing        COMMANDS:
37712e33526SPatrick Williams            - "ls -AX /tmp/htx/htxerr"
37812e33526SPatrick Williams            - "ls -AX /tmp/htx/htxmsg"
3790c0bdd4aSGeorge Keishing        PROTOCOL:
38012e33526SPatrick Williams            - "SCP"
381