blob: 0ca91afcfc5425238e5966904a886d6059c3dac7 [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 - {
80 "strace -p $(pidof pldmd) -o /tmp/pldmd_strace.txt & sleep 60
81 ; kill $!": 70,
82 }
83 - "hexdump -C /var/lib/phosphor-logging/extensions/pels/badPEL
84 >/tmp/PEL_logs_badPEL.txt"
85 - "guard -l >/tmp/GUARD_list.txt"
86 - "pldmtool fru getfrurecordtable>/tmp/PLDM_fru_record.txt"
87 - "killall -s SIGUSR1 pldmd; sleep 5"
88 - "fanctl dump"
89 - "cat /var/lib/phosphor-software-manager/pnor/rw/DEVTREE >
90 /tmp/DEVTREE"
91 - "cat /home/root/bmcweb_persistent_data.json >
92 /tmp/bmcweb_persistent_data.json"
George Keishing6ea92b02021-07-01 11:20:50 -050093 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -060094 - "/tmp/BMC_flash_side.txt"
95 - "/tmp/BMC_hwmon.txt"
96 - "/tmp/BMC_proc_list.txt"
97 - "/tmp/BMC_proc_fd_active_list.txt"
98 - "/tmp/BMC_journalctl_nopager.txt"
99 - "/tmp/BMC_journalctl_pretty.json"
100 - "/tmp/BMC_dmesg.txt"
101 - "/tmp/BMC_procinfo.txt"
102 - "/tmp/BMC_meminfo.txt"
103 - "/tmp/BMC_systemd.txt"
104 - "/tmp/BMC_failed_service.txt"
105 - "/tmp/BMC_list_service.txt"
106 - "/tmp/BMC_obmc_console.txt"
107 - "/tmp/BMC_obmc_console1.txt"
108 - "/tmp/PEL_logs_list.json"
109 - "/tmp/PEL_logs_complete_list.json"
110 - "/tmp/PEL_logs_complete_display.json"
111 - "/tmp/PEL_logs_display.json"
112 - "/tmp/pldmd_strace.txt"
113 - "/tmp/PEL_logs_badPEL.txt"
114 - "/tmp/GUARD_list.txt"
115 - "/tmp/PLDM_fru_record.txt"
116 - "/tmp/pldm_flight_recorder"
117 - "/tmp/fan_control_dump.json"
118 - "/tmp/DEVTREE"
119 - "/tmp/bmcweb_persistent_data.json"
George Keishing6ea92b02021-07-01 11:20:50 -0500120 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600121 - "SSH"
Peter D Phan56429a62021-06-23 08:38:29 -0500122
Peter D Phanbabf2962021-07-07 11:24:40 -0500123 # DUMP_LOGS: This section provides option to 'SCP if file exist'.
Peter D Phane86d9a52021-07-15 10:42:25 -0500124 # COMMANDS: filename is preceded by ls -AX '.
Peter D Phanbabf2962021-07-07 11:24:40 -0500125 # FILES: is not needed and is ignored if exists.
George Keishing6ea92b02021-07-01 11:20:50 -0500126 DUMP_LOGS:
127 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600128 - "ls -AX /var/lib/systemd/coredump/core.*"
129 - "ls -AX /var/lib/phosphor-debug-collector/dumps/*/*"
130 - "ls -AX /var/lib/phosphor-debug-collector/hostbootdump/*/*"
George Keishing6ea92b02021-07-01 11:20:50 -0500131 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600132 - "SCP"
Peter D Phan0c669772021-06-24 13:52:42 -0500133
George Keishing6ea92b02021-07-01 11:20:50 -0500134 # URLs and Files for OPENBMC redfish
135 # URLs and Files are one-to-one corresponding.
136 # File contains the data returned from 'redfishtool GET URL'
137 REDFISH_LOGS:
George Keishing506b0582021-07-27 09:31:22 -0500138 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600139 - redfishtool -u ${username} -p ${password} -r ${hostname} -S Always
140 raw GET /redfish/v1/AccountService/Accounts
141 - redfishtool -u ${username} -p ${password} -r ${hostname} -S Always
142 raw GET /redfish/v1/Managers/bmc/LogServices/Dump/Entries
143 - redfishtool -u ${username} -p ${password} -r ${hostname} -S Always
144 raw GET /redfish/v1/Systems/system/LogServices/Dump/Entries
145 - redfishtool -u ${username} -p ${password} -r ${hostname} -S Always
146 raw GET /redfish/v1/Systems/system/LogServices/EventLog/Entries
George Keishing91308ea2021-08-10 14:43:15 -0500147 - plugin:
Patrick Williams12e33522022-12-08 06:13:12 -0600148 - plugin_name: plugin.redfish.enumerate_request
149 - plugin_args:
150 - ${hostname}
151 - ${username}
152 - ${password}
153 - /redfish/v1/
154 - json
George Keishing6ea92b02021-07-01 11:20:50 -0500155 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600156 - "REDFISH_bmc_user_accounts.json"
157 - "REDFISH_bmc_dump_entries.json"
158 - "REDFISH_system_dumps_entries.json"
159 - "REDFISH_event_log_entries.json"
160 - "REDFISH_enumerate_v1.json"
George Keishing6ea92b02021-07-01 11:20:50 -0500161 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600162 - "REDFISH"
George Keishing6ea92b02021-07-01 11:20:50 -0500163
164 # Commands and Files to collect for via out of band IPMI.
165 IPMI_LOGS:
166 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600167 - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
168 ${hostname} lan print
169 - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
170 ${hostname} fru list
171 - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
172 ${hostname} user list
George Keishing6ea92b02021-07-01 11:20:50 -0500173 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600174 - "IPMI_LAN_print.txt"
175 - "IPMI_FRU_list.txt"
176 - "IPMI_USER_list.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500177 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600178 - "IPMI"
George Keishingeafba182021-06-29 13:44:58 -0500179
Peter D Phan72ce6b82021-06-03 06:18:26 -0500180# Commands and Files to collect for all Linux distributions
181LINUX:
George Keishing6ea92b02021-07-01 11:20:50 -0500182 LINUX_LOGS:
183 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600184 - "cat /sys/firmware/opal/msglog >/tmp/OS_msglog.txt"
185 - "ppc64_cpu --frequency >/tmp/OS_cpufrequency.txt"
186 - "dmesg >/tmp/OS_dmesg.txt"
187 - "cat /var/log/opal-prd* >/tmp/OS_opal_prd.txt"
188 - "cat /var/log/boot.log >/tmp/OS_boot.txt"
189 - "cat /proc/cpuinfo >/tmp/OS_procinfo.txt"
190 - "cat /proc/meminfo >/tmp/OS_meminfo.txt"
191 - "netstat -a >/tmp/OS_netstat.txt"
192 - "lspci >/tmp/OS_lspci.txt"
193 - "lscpu >/tmp/OS_lscpu.txt"
194 - "lscfg >/tmp/OS_lscfg.txt"
195 - "journalctl --no-pager -b > /tmp/OS_journalctl_nopager.txt "
George Keishing6ea92b02021-07-01 11:20:50 -0500196 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600197 - "/tmp/OS_msglog.txt"
198 - "/tmp/OS_cpufrequency.txt"
199 - "/tmp/OS_dmesg.txt"
200 - "/tmp/OS_opal_prd.txt"
201 - "/tmp/OS_boot.txt"
202 - "/tmp/OS_procinfo.txt"
203 - "/tmp/OS_meminfo.txt"
204 - "/tmp/OS_netstat.txt"
205 - "/tmp/OS_lspci.txt"
206 - "/tmp/OS_lscpu.txt"
207 - "/tmp/OS_lscfg.txt"
208 - "/tmp/OS_journalctl_nopager.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500209 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600210 - "SSH"
Peter D Phan72ce6b82021-06-03 06:18:26 -0500211
212# Commands and Files to collect for Ubuntu Linux only
Peter D Phan04aca3b2021-06-21 10:37:18 -0500213UBUNTU:
George Keishing0c0bdd42021-07-23 13:36:06 -0500214 GENERAL:
George Keishing6ea92b02021-07-01 11:20:50 -0500215 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600216 - "rm -rf /tmp/UBUNTU_general.txt"
217 - 'echo "++++++++++ UBUNTU Rleasae ++++++++++" >
218 /tmp/UBUNTU_general.txt'
219 - "cat /etc/os-release >> /tmp/UBUNTU_general.txt"
220 - 'echo "\n++++++++++ Time stamp ++++++++++" >>
221 /tmp/UBUNTU_general.txt'
222 - "date >> /tmp/UBUNTU_general.txt"
223 - 'echo "\n++++++++++ uname -a ++++++++++" >>
224 /tmp/UBUNTU_general.txt'
225 - "uname -a >> /tmp/UBUNTU_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500226 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/UBUNTU_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600227 - "uptime >> /tmp/UBUNTU_general.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500228 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600229 - "/tmp/UBUNTU_general.txt"
George Keishing86399c92021-07-01 13:01:49 -0500230 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600231 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500232 UBUNTU_LOGS:
233 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600234 - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
235 - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
236 - "rm -rf /tmp/sosreport*FFDC*"
237 - {
238 "sosreport --batch --tmp-dir /tmp --label FFDC
239 >/tmp/OS_sosreport.txt": 1200,
240 }
241 - "tar -zcvf /tmp/crash.tar.gz /var/crash"
George Keishing0c0bdd42021-07-23 13:36:06 -0500242 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600243 - "/tmp/OS_info.txt"
244 - "/tmp/OS_syslog.txt"
245 - "/tmp/OS_sosreport.txt"
246 - "/tmp/sosreport*.tar.xz"
247 - "/tmp/crash.tar.gz"
George Keishing0c0bdd42021-07-23 13:36:06 -0500248 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600249 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500250 DUMP_LOGS:
251 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600252 - "ls -AX /tmp/htx/htxerr"
253 - "ls -AX /tmp/htx/htxmsg"
George Keishing0c0bdd42021-07-23 13:36:06 -0500254 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600255 - "SCP"
George Keishing86399c92021-07-01 13:01:49 -0500256
Peter D Phan72ce6b82021-06-03 06:18:26 -0500257# Commands and Files to collect for RHE Linux only
Peter D Phan04aca3b2021-06-21 10:37:18 -0500258RHEL:
George Keishing0c0bdd42021-07-23 13:36:06 -0500259 GENERAL:
260 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600261 - "rm -rf /tmp/RHEL_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500262 - 'echo "++++++++++ RHEL Rleasae ++++++++++" > /tmp/RHEL_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600263 - "cat /etc/os-release >> /tmp/RHEL_general.txt"
264 - 'echo -e "\n++++++++++ Time stamp ++++++++++" >>
265 /tmp/RHEL_general.txt'
266 - "date >> /tmp/RHEL_general.txt"
267 - 'echo -e "\n++++++++++ uname -a ++++++++++" >>
268 /tmp/RHEL_general.txt'
269 - "uname -a >> /tmp/RHEL_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500270 - 'echo -e "\n++++++++++ uptime ++++++++++" >> /tmp/RHEL_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600271 - "uptime >> /tmp/RHEL_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500272 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600273 - "/tmp/RHEL_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500274 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600275 - "SSH"
George Keishing6ea92b02021-07-01 11:20:50 -0500276 RHEL_LOGS:
277 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600278 - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
279 - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
280 - "rm -rf /tmp/sosreport*FFDC*"
281 - {
282 "sosreport --batch --tmp-dir /tmp --label FFDC
283 >/tmp/OS_sosreport.txt": 1200,
284 }
285 - "tar -zcvf /tmp/crash.tar.gz /var/crash"
George Keishing6ea92b02021-07-01 11:20:50 -0500286 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600287 - "/tmp/OS_info.txt"
288 - "/tmp/OS_syslog.txt"
289 - "/tmp/OS_sosreport.txt"
290 - "/tmp/sosreport*.tar.xz"
291 - "/tmp/crash.tar.gz"
George Keishing86399c92021-07-01 13:01:49 -0500292 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600293 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500294 DUMP_LOGS:
295 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600296 - "ls -AX /tmp/htx/htxerr"
297 - "ls -AX /tmp/htx/htxmsg"
George Keishing0c0bdd42021-07-23 13:36:06 -0500298 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600299 - "SCP"
George Keishing86399c92021-07-01 13:01:49 -0500300
George Keishing5b43c222021-07-09 01:10:00 -0500301# Commands and Files to collect for SLES Linux only
302SLES:
George Keishing0c0bdd42021-07-23 13:36:06 -0500303 GENERAL:
304 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600305 - "rm -rf /tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500306 - 'echo "++++++++++ SLES Rleasae ++++++++++" > /tmp/SLES_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600307 - "cat /etc/os-release >> /tmp/SLES_general.txt"
308 - 'echo "\n++++++++++ Time stamp ++++++++++" >>
309 /tmp/SLES_general.txt'
310 - "date >> /tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500311 - 'echo "\n++++++++++ uname -a ++++++++++" >> /tmp/SLES_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600312 - "uname -a >> /tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500313 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/SLES_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600314 - "uptime >> /tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500315 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600316 - "/tmp/SLES_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500317 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600318 - "SSH"
George Keishing5b43c222021-07-09 01:10:00 -0500319 SLES_LOGS:
320 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600321 - "{ cat /etc/os-release; uname -a; rpm -qa ; } >/tmp/OS_info.txt"
322 - "tail -n 200000 /var/log/messages >/tmp/OS_syslog.txt"
323 - "rm -rf /tmp/scc*.txz.md5"
324 - { "supportconfig >/tmp/OS_supportconfig.txt": 1200 }
325 - "cp /var/log/scc*.txz.md5 /tmp/"
326 - "tar -zcvf /tmp/crash.tar.gz /var/crash"
George Keishing5b43c222021-07-09 01:10:00 -0500327 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600328 - "/tmp/OS_info.txt"
329 - "/tmp/OS_syslog.txt"
330 - "/tmp/OS_supportconfig.txt"
331 - "/tmp/scc*.txz.md5"
332 - "/tmp/crash.tar.gz"
George Keishing5b43c222021-07-09 01:10:00 -0500333 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600334 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500335 DUMP_LOGS:
336 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600337 - "ls -AX /tmp/htx/htxerr"
338 - "ls -AX /tmp/htx/htxmsg"
George Keishing0c0bdd42021-07-23 13:36:06 -0500339 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600340 - "SCP"
George Keishing5b43c222021-07-09 01:10:00 -0500341
George Keishinga3f3f592021-06-17 11:28:04 -0500342# Commands and Files to collect for AIX only
Peter D Phan04aca3b2021-06-21 10:37:18 -0500343AIX:
George Keishing0c0bdd42021-07-23 13:36:06 -0500344 GENERAL:
345 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600346 - "rm -rf /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500347 - 'echo "++++++++++ AIX Release ++++++++++" > /tmp/AIX_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600348 - "cat /proc/version | tail -1 >> /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500349 - 'echo "\n++++++++++ Time stamp ++++++++++" >> /tmp/AIX_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600350 - "date >> /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500351 - 'echo "\n++++++++++ uname -a ++++++++++" >> /tmp/AIX_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600352 - "uname -a >> /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500353 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/AIX_general.txt'
Patrick Williams12e33522022-12-08 06:13:12 -0600354 - "uptime >> /tmp/AIX_general.txt"
355 - 'echo "\n++++++++++ System Info ++++++++++" >>
356 /tmp/AIX_general.txt'
357 - "prtconf | head -15 >> /tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500358 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600359 - "/tmp/AIX_general.txt"
George Keishing0c0bdd42021-07-23 13:36:06 -0500360 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600361 - "SSH"
George Keishing6ea92b02021-07-01 11:20:50 -0500362 AIX_LOGS:
363 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600364 - "errpt -a >/tmp/OS_errpt.txt ; errclear 0;"
365 - "bindprocessor -q >/tmp/OS_processors.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500366 FILES:
Patrick Williams12e33522022-12-08 06:13:12 -0600367 - "/tmp/OS_errpt.txt"
368 - "/tmp/OS_processors.txt"
George Keishing6ea92b02021-07-01 11:20:50 -0500369 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600370 - "SSH"
George Keishing0c0bdd42021-07-23 13:36:06 -0500371 DUMP_LOGS:
372 COMMANDS:
Patrick Williams12e33522022-12-08 06:13:12 -0600373 - "ls -AX /tmp/htx/htxerr"
374 - "ls -AX /tmp/htx/htxmsg"
George Keishing0c0bdd42021-07-23 13:36:06 -0500375 PROTOCOL:
Patrick Williams12e33522022-12-08 06:13:12 -0600376 - "SCP"