blob: f1a912512d676e2913d7d17a491cbd2953d52df6 [file] [log] [blame]
Peter D Phan72ce6b82021-06-03 06:18:26 -05001---
2# This yaml formatted file contains defaults items to collect FFDC for the targeted system
3# COMMANDS - List of commands to be run on the corresponding targeted system (inband)
4# to generate and/or collect data
5# FILES - List of files; with complete path; on the corresponding targeted system
6# to be copied to external destination
7# PROTOCOL - Protocol used to communicate with targeted system; ssh, Rest, redfish, etc
8#
9# Note: Items in COMMANDS and FILES are not necessarily one-to-one correspondence.
10# For example, a file could have been created by an internal process,
11# and is listed in FILES to be collected.
Peter D Phan04aca3b2021-06-21 10:37:18 -050012#
Peter D Phan2b8052d2021-06-22 10:55:41 -050013
Peter D Phan72ce6b82021-06-03 06:18:26 -050014# Commands and Files to collect for a given OpenBMC system.
15OPENBMC:
George Keishing6ea92b02021-07-01 11:20:50 -050016 # Commands and File to take snapshot of linux based system.
17 # Filename is <OS>_general.txt, where <OS> is in [OPENBMC, RHEL, UBUNTU]
18 GENERAL:
19 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -060020 - "rm -rf /tmp/*BMC_* /tmp/PEL_* /tmp/pldm* /tmp/PLDM* /tmp/GUARD*
21 /tmp/fan_* /tmp/DEVTREE /tmp/bmcweb_*"
22 - 'echo "++++++++++ cat /etc/os-release ++++++++++" >>
23 /tmp/OPENBMC_general.txt'
24 - "cat /etc/os-release >> /tmp/OPENBMC_general.txt"
25 - 'echo -e "\n++++++++++ cat /etc/timestamp ++++++++++" >>
26 /tmp/OPENBMC_general.txt'
27 - "cat /etc/timestamp >> /tmp/OPENBMC_general.txt"
28 - 'echo -e "\n++++++++++ uname -a ++++++++++" >>
29 /tmp/OPENBMC_general.txt'
30 - "uname -a >> /tmp/OPENBMC_general.txt"
31 - 'echo -e "\n++++++++++ cat /etc/timestamp ++++++++++" >>
32 /tmp/OPENBMC_general.txt'
33 - "cat /etc/timestamp >> /tmp/OPENBMC_general.txt"
34 - 'echo -e "\n++++++++++ uptime;cat /proc/uptime ++++++++++" >>
35 /tmp/OPENBMC_general.txt'
36 - "uptime >> /tmp/OPENBMC_general.txt"
37 - "cat /proc/uptime >> /tmp/OPENBMC_general.txt"
38 - 'echo -e "\n++++++++++ df -hT ++++++++++" >>
39 /tmp/OPENBMC_general.txt'
40 - "df -hT >> /tmp/OPENBMC_general.txt"
41 - 'echo -e "\n++++++++++ date;/sbin/hwclock --show ++++++++++" >>
42 /tmp/OPENBMC_general.txt'
43 - "date >> /tmp/OPENBMC_general.txt"
44 - "/sbin/hwclock --show >> /tmp/OPENBMC_general.txt"
45 - "/usr/bin/timedatectl >> /tmp/OPENBMC_general.txt"
46 - 'echo -e "\n++++++++++ /usr/bin/obmcutil state ++++++++++" >>
47 /tmp/OPENBMC_general.txt'
48 - "/usr/bin/obmcutil state >> /tmp/OPENBMC_general.txt"
George Keishing6ea92b02021-07-01 11:20:50 -050049 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -060050 - "/tmp/OPENBMC_general.txt"
George Keishing6ea92b02021-07-01 11:20:50 -050051 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -060052 - "SSH"
Peter D Phan72ce6b82021-06-03 06:18:26 -050053
George Keishing6ea92b02021-07-01 11:20:50 -050054 OPENBMC_LOGS:
55 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -060056 - "cat /sys/class/watchdog/watchdog1/bootstatus
57 >/tmp/BMC_flash_side.txt"
58 - "grep -r . /sys/class/hwmon/* >/tmp/BMC_hwmon.txt"
59 - "top -n 1 -b >/tmp/BMC_proc_list.txt"
60 - "ls -Al /proc/*/fd/ >/tmp/BMC_proc_fd_active_list.txt"
61 - "journalctl --no-pager >/tmp/BMC_journalctl_nopager.txt"
62 - "journalctl -o json-pretty >/tmp/BMC_journalctl_pretty.json"
63 - "dmesg >/tmp/BMC_dmesg.txt"
64 - "cat /proc/cpuinfo >/tmp/BMC_procinfo.txt"
65 - "cat /proc/meminfo >/tmp/BMC_meminfo.txt"
66 - "systemctl status --all >/tmp/BMC_systemd.txt"
67 - "systemctl list-units --failed >/tmp/BMC_failed_service.txt"
68 - "systemctl list-jobs >/tmp/BMC_list_service.txt"
69 - "cat /var/log/obmc-console.log >/tmp/BMC_obmc_console.txt"
70 - "cat /var/log/obmc-console1.log >/tmp/BMC_obmc_console1.txt"
71 - "peltool -l >/tmp/PEL_logs_list.json"
72 - { "peltool -a >/tmp/PEL_logs_display.json": 600 }
73 - {
74 "peltool -l -a -f >/tmp/PEL_logs_complete_list.json 2>&1": 1200,
75 }
76 - {
77 "peltool -a -f -h>/tmp/PEL_logs_complete_display.json 2>&1": 1200,
78 }
79 - {
Patrick Williamsc17b9872022-12-08 06:13:12 -060080 ? "strace -p $(pidof pldmd) -o /tmp/pldmd_strace.txt & sleep
81 60 ; kill $!"
82 : 70,
Patrick Williams12e33522022-12-08 06:13:12 -060083 }
84 - "hexdump -C /var/lib/phosphor-logging/extensions/pels/badPEL
85 >/tmp/PEL_logs_badPEL.txt"
86 - "guard -l >/tmp/GUARD_list.txt"
87 - "pldmtool fru getfrurecordtable>/tmp/PLDM_fru_record.txt"
88 - "killall -s SIGUSR1 pldmd; sleep 5"
89 - "fanctl dump"
90 - "cat /var/lib/phosphor-software-manager/pnor/rw/DEVTREE >
91 /tmp/DEVTREE"
92 - "cat /home/root/bmcweb_persistent_data.json >
93 /tmp/bmcweb_persistent_data.json"
George Keishing6ea92b02021-07-01 11:20:50 -050094 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -060095 - "/tmp/BMC_flash_side.txt"
96 - "/tmp/BMC_hwmon.txt"
97 - "/tmp/BMC_proc_list.txt"
98 - "/tmp/BMC_proc_fd_active_list.txt"
99 - "/tmp/BMC_journalctl_nopager.txt"
100 - "/tmp/BMC_journalctl_pretty.json"
101 - "/tmp/BMC_dmesg.txt"
102 - "/tmp/BMC_procinfo.txt"
103 - "/tmp/BMC_meminfo.txt"
104 - "/tmp/BMC_systemd.txt"
105 - "/tmp/BMC_failed_service.txt"
106 - "/tmp/BMC_list_service.txt"
107 - "/tmp/BMC_obmc_console.txt"
108 - "/tmp/BMC_obmc_console1.txt"
109 - "/tmp/PEL_logs_list.json"
110 - "/tmp/PEL_logs_complete_list.json"
111 - "/tmp/PEL_logs_complete_display.json"
112 - "/tmp/PEL_logs_display.json"
113 - "/tmp/pldmd_strace.txt"
114 - "/tmp/PEL_logs_badPEL.txt"
115 - "/tmp/GUARD_list.txt"
116 - "/tmp/PLDM_fru_record.txt"
117 - "/tmp/pldm_flight_recorder"
118 - "/tmp/fan_control_dump.json"
119 - "/tmp/DEVTREE"
120 - "/tmp/bmcweb_persistent_data.json"
George Keishing6ea92b02021-07-01 11:20:50 -0500121 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600122 - "SSH"
Peter D Phan56429a62021-06-23 08:38:29 -0500123
Peter D Phanbabf2962021-07-07 11:24:40 -0500124 # DUMP_LOGS: This section provides option to 'SCP if file exist'.
Peter D Phane86d9a52021-07-15 10:42:25 -0500125 # COMMANDS: filename is preceded by ls -AX '.
Peter D Phanbabf2962021-07-07 11:24:40 -0500126 # FILES: is not needed and is ignored if exists.
George Keishing6ea92b02021-07-01 11:20:50 -0500127 DUMP_LOGS:
128 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600129 - "ls -AX /var/lib/systemd/coredump/core.*"
130 - "ls -AX /var/lib/phosphor-debug-collector/dumps/*/*"
131 - "ls -AX /var/lib/phosphor-debug-collector/hostbootdump/*/*"
George Keishing6ea92b02021-07-01 11:20:50 -0500132 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600133 - "SCP"
Peter D Phan0c669772021-06-24 13:52:42 -0500134
George Keishing6ea92b02021-07-01 11:20:50 -0500135 # URLs and Files for OPENBMC redfish
136 # URLs and Files are one-to-one corresponding.
137 # File contains the data returned from 'redfishtool GET URL'
138 REDFISH_LOGS:
George Keishing506b0582021-07-27 09:31:22 -0500139 COMMANDS:
George Keishinge8a41752023-06-22 21:42:47 +0530140 - redfishtool -u ${username} -p ${password} -r
141 ${hostname}:${port_https} -S Always raw GET
142 /redfish/v1/AccountService/Accounts
143 - redfishtool -u ${username} -p ${password} -r
144 ${hostname}:${port_https} -S Always raw GET
ganesanb4d430282023-04-27 14:33:23 +0000145 /redfish/v1/Managers/${manager_id}/LogServices/Dump/Entries
George Keishinge8a41752023-06-22 21:42:47 +0530146 - redfishtool -u ${username} -p ${password} -r
147 ${hostname}:${port_https} -S Always raw GET
148 /redfish/v1/Systems/system/LogServices/Dump/Entries
149 - redfishtool -u ${username} -p ${password} -r
150 ${hostname}:${port_https} -S Always raw GET
151 /redfish/v1/Systems/system/LogServices/EventLog/Entries
George Keishing91308ea2021-08-10 14:43:15 -0500152 - plugin:
Patrick Williams12e33522022-12-08 06:13:12 -0600153 - plugin_name: plugin.redfish.enumerate_request
154 - plugin_args:
155 - ${hostname}
156 - ${username}
157 - ${password}
158 - /redfish/v1/
159 - json
George Keishing6ea92b02021-07-01 11:20:50 -0500160 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600161 - "REDFISH_bmc_user_accounts.json"
162 - "REDFISH_bmc_dump_entries.json"
163 - "REDFISH_system_dumps_entries.json"
164 - "REDFISH_event_log_entries.json"
165 - "REDFISH_enumerate_v1.json"
George Keishing6ea92b02021-07-01 11:20:50 -0500166 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600167 - "REDFISH"
George Keishing6ea92b02021-07-01 11:20:50 -0500168
169 # Commands and Files to collect for via out of band IPMI.
170 IPMI_LOGS:
171 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600172 - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
George Keishinge8a41752023-06-22 21:42:47 +0530173 ${hostname} -p ${port_ipmi} lan print
Patrick Williams12e33522022-12-08 06:13:12 -0600174 - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
George Keishinge8a41752023-06-22 21:42:47 +0530175 ${hostname} -p ${port_ipmi} fru list
Patrick Williams12e33522022-12-08 06:13:12 -0600176 - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
George Keishinge8a41752023-06-22 21:42:47 +0530177 ${hostname} -p ${port_ipmi} user list
George Keishing6ea92b02021-07-01 11:20:50 -0500178 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600179 - "IPMI_LAN_print.txt"
180 - "IPMI_FRU_list.txt"
181 - "IPMI_USER_list.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500182 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600183 - "IPMI"
George Keishingeafba182021-06-29 13:44:58 -0500184
Peter D Phan72ce6b82021-06-03 06:18:26 -0500185# Commands and Files to collect for all Linux distributions
186LINUX:
George Keishing6ea92b02021-07-01 11:20:50 -0500187 LINUX_LOGS:
188 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600189 - "cat /sys/firmware/opal/msglog >/tmp/OS_msglog.txt"
190 - "ppc64_cpu --frequency >/tmp/OS_cpufrequency.txt"
191 - "dmesg >/tmp/OS_dmesg.txt"
192 - "cat /var/log/opal-prd* >/tmp/OS_opal_prd.txt"
193 - "cat /var/log/boot.log >/tmp/OS_boot.txt"
194 - "cat /proc/cpuinfo >/tmp/OS_procinfo.txt"
195 - "cat /proc/meminfo >/tmp/OS_meminfo.txt"
196 - "netstat -a >/tmp/OS_netstat.txt"
197 - "lspci >/tmp/OS_lspci.txt"
198 - "lscpu >/tmp/OS_lscpu.txt"
199 - "lscfg >/tmp/OS_lscfg.txt"
200 - "journalctl --no-pager -b > /tmp/OS_journalctl_nopager.txt "
George Keishing6ea92b02021-07-01 11:20:50 -0500201 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600202 - "/tmp/OS_msglog.txt"
203 - "/tmp/OS_cpufrequency.txt"
204 - "/tmp/OS_dmesg.txt"
205 - "/tmp/OS_opal_prd.txt"
206 - "/tmp/OS_boot.txt"
207 - "/tmp/OS_procinfo.txt"
208 - "/tmp/OS_meminfo.txt"
209 - "/tmp/OS_netstat.txt"
210 - "/tmp/OS_lspci.txt"
211 - "/tmp/OS_lscpu.txt"
212 - "/tmp/OS_lscfg.txt"
213 - "/tmp/OS_journalctl_nopager.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500214 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600215 - "SSH"
Peter D Phan72ce6b82021-06-03 06:18:26 -0500216
217# Commands and Files to collect for Ubuntu Linux only
Peter D Phan04aca3b2021-06-21 10:37:18 -0500218UBUNTU:
George Keishing0c0bdd42021-07-23 13:36:06 -0500219 GENERAL:
George Keishing6ea92b02021-07-01 11:20:50 -0500220 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600221 - "rm -rf /tmp/UBUNTU_general.txt"
222 - 'echo "++++++++++ UBUNTU Rleasae ++++++++++" >
223 /tmp/UBUNTU_general.txt'
224 - "cat /etc/os-release >> /tmp/UBUNTU_general.txt"
225 - 'echo "\n++++++++++ Time stamp ++++++++++" >>
226 /tmp/UBUNTU_general.txt'
227 - "date >> /tmp/UBUNTU_general.txt"
228 - 'echo "\n++++++++++ uname -a ++++++++++" >>
229 /tmp/UBUNTU_general.txt'
230 - "uname -a >> /tmp/UBUNTU_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500231 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/UBUNTU_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600232 - "uptime >> /tmp/UBUNTU_general.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500233 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600234 - "/tmp/UBUNTU_general.txt"
George Keishing86399c92021-07-01 13:01:49 -0500235 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600236 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500237 UBUNTU_LOGS:
238 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600239 - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
240 - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
241 - "rm -rf /tmp/sosreport*FFDC*"
242 - {
Patrick Williamsc17b9872022-12-08 06:13:12 -0600243 ? "sosreport --batch --tmp-dir /tmp --label FFDC
244 >/tmp/OS_sosreport.txt"
245 : 1200,
Patrick Williams12e33522022-12-08 06:13:12 -0600246 }
247 - "tar -zcvf /tmp/crash.tar.gz /var/crash"
George Keishing0c0bdd42021-07-23 13:36:06 -0500248 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600249 - "/tmp/OS_info.txt"
250 - "/tmp/OS_syslog.txt"
251 - "/tmp/OS_sosreport.txt"
252 - "/tmp/sosreport*.tar.xz"
253 - "/tmp/crash.tar.gz"
George Keishing0c0bdd42021-07-23 13:36:06 -0500254 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600255 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500256 DUMP_LOGS:
257 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600258 - "ls -AX /tmp/htx/htxerr"
259 - "ls -AX /tmp/htx/htxmsg"
George Keishing0c0bdd42021-07-23 13:36:06 -0500260 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600261 - "SCP"
George Keishing86399c92021-07-01 13:01:49 -0500262
Peter D Phan72ce6b82021-06-03 06:18:26 -0500263# Commands and Files to collect for RHE Linux only
Peter D Phan04aca3b2021-06-21 10:37:18 -0500264RHEL:
George Keishing0c0bdd42021-07-23 13:36:06 -0500265 GENERAL:
266 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600267 - "rm -rf /tmp/RHEL_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500268 - 'echo "++++++++++ RHEL Rleasae ++++++++++" > /tmp/RHEL_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600269 - "cat /etc/os-release >> /tmp/RHEL_general.txt"
270 - 'echo -e "\n++++++++++ Time stamp ++++++++++" >>
271 /tmp/RHEL_general.txt'
272 - "date >> /tmp/RHEL_general.txt"
273 - 'echo -e "\n++++++++++ uname -a ++++++++++" >>
274 /tmp/RHEL_general.txt'
275 - "uname -a >> /tmp/RHEL_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500276 - 'echo -e "\n++++++++++ uptime ++++++++++" >> /tmp/RHEL_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600277 - "uptime >> /tmp/RHEL_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500278 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600279 - "/tmp/RHEL_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500280 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600281 - "SSH"
George Keishing6ea92b02021-07-01 11:20:50 -0500282 RHEL_LOGS:
283 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600284 - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
285 - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
286 - "rm -rf /tmp/sosreport*FFDC*"
287 - {
Patrick Williamsc17b9872022-12-08 06:13:12 -0600288 ? "sosreport --batch --tmp-dir /tmp --label FFDC
289 >/tmp/OS_sosreport.txt"
290 : 1200,
Patrick Williams12e33522022-12-08 06:13:12 -0600291 }
292 - "tar -zcvf /tmp/crash.tar.gz /var/crash"
George Keishing6ea92b02021-07-01 11:20:50 -0500293 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600294 - "/tmp/OS_info.txt"
295 - "/tmp/OS_syslog.txt"
296 - "/tmp/OS_sosreport.txt"
297 - "/tmp/sosreport*.tar.xz"
298 - "/tmp/crash.tar.gz"
George Keishing86399c92021-07-01 13:01:49 -0500299 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600300 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500301 DUMP_LOGS:
302 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600303 - "ls -AX /tmp/htx/htxerr"
304 - "ls -AX /tmp/htx/htxmsg"
George Keishing0c0bdd42021-07-23 13:36:06 -0500305 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600306 - "SCP"
George Keishing86399c92021-07-01 13:01:49 -0500307
George Keishing5b43c222021-07-09 01:10:00 -0500308# Commands and Files to collect for SLES Linux only
309SLES:
George Keishing0c0bdd42021-07-23 13:36:06 -0500310 GENERAL:
311 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600312 - "rm -rf /tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500313 - 'echo "++++++++++ SLES Rleasae ++++++++++" > /tmp/SLES_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600314 - "cat /etc/os-release >> /tmp/SLES_general.txt"
315 - 'echo "\n++++++++++ Time stamp ++++++++++" >>
316 /tmp/SLES_general.txt'
317 - "date >> /tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500318 - 'echo "\n++++++++++ uname -a ++++++++++" >> /tmp/SLES_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600319 - "uname -a >> /tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500320 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/SLES_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600321 - "uptime >> /tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500322 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600323 - "/tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500324 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600325 - "SSH"
George Keishing5b43c222021-07-09 01:10:00 -0500326 SLES_LOGS:
327 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600328 - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
329 - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
330 - "rm -rf /tmp/scc*.txz.md5"
331 - { "supportconfig >/tmp/OS_supportconfig.txt": 1200 }
332 - "cp /var/log/scc*.txz.md5 /tmp/"
333 - "tar -zcvf /tmp/crash.tar.gz /var/crash"
George Keishing5b43c222021-07-09 01:10:00 -0500334 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600335 - "/tmp/OS_info.txt"
336 - "/tmp/OS_syslog.txt"
337 - "/tmp/OS_supportconfig.txt"
338 - "/tmp/scc*.txz.md5"
339 - "/tmp/crash.tar.gz"
George Keishing5b43c222021-07-09 01:10:00 -0500340 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600341 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500342 DUMP_LOGS:
343 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600344 - "ls -AX /tmp/htx/htxerr"
345 - "ls -AX /tmp/htx/htxmsg"
George Keishing0c0bdd42021-07-23 13:36:06 -0500346 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600347 - "SCP"
George Keishing5b43c222021-07-09 01:10:00 -0500348
George Keishinga3f3f592021-06-17 11:28:04 -0500349# Commands and Files to collect for AIX only
Peter D Phan04aca3b2021-06-21 10:37:18 -0500350AIX:
George Keishing0c0bdd42021-07-23 13:36:06 -0500351 GENERAL:
352 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600353 - "rm -rf /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500354 - 'echo "++++++++++ AIX Release ++++++++++" > /tmp/AIX_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600355 - "cat /proc/version | tail -1 >> /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500356 - 'echo "\n++++++++++ Time stamp ++++++++++" >> /tmp/AIX_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600357 - "date >> /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500358 - 'echo "\n++++++++++ uname -a ++++++++++" >> /tmp/AIX_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600359 - "uname -a >> /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500360 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/AIX_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600361 - "uptime >> /tmp/AIX_general.txt"
362 - 'echo "\n++++++++++ System Info ++++++++++" >>
363 /tmp/AIX_general.txt'
364 - "prtconf | head -15 >> /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500365 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600366 - "/tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500367 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600368 - "SSH"
George Keishing6ea92b02021-07-01 11:20:50 -0500369 AIX_LOGS:
370 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600371 - "errpt -a >/tmp/OS_errpt.txt ; errclear 0;"
372 - "bindprocessor -q >/tmp/OS_processors.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500373 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600374 - "/tmp/OS_errpt.txt"
375 - "/tmp/OS_processors.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500376 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600377 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500378 DUMP_LOGS:
379 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600380 - "ls -AX /tmp/htx/htxerr"
381 - "ls -AX /tmp/htx/htxmsg"
George Keishing0c0bdd42021-07-23 13:36:06 -0500382 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600383 - "SCP"