Closed
Bug 813755
Opened 12 years ago
Closed 12 years ago
Script for collecting seamicro troubleshooting logs
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mburns, Assigned: mburns)
Details
SeaMicro requests some standard troubleshooting logs for support requests. This should be scripted, because it is obnoxious to do by hand.
Standard commands are:
- 'show tech-support detail'
- 'show console'
- 'show logging'
The script would do something like `ssh admin@$OOB_IP | tee log.txt` for each command. It could do it with a single login and some additional parsing of the output.
One catch is that it forces you to paginate the output. The 'show tech-support detail' is ~655KB, so it takes *a lot* of pressing Spacebar.
To provide a readable log, using sed or vim, to remove various control charactes (^H, ^G, ^M) and the --More-- that gets sprinkled throughout the output.
Assignee | ||
Comment 1•12 years ago
|
||
for 'advanced' troubleshooting mode:
unhide debug
debug cli run-root-shell
cd /root
. ./.profile
dmesg
Assignee | ||
Comment 2•12 years ago
|
||
While automation is nice, this task doesn't come up often enough to really justify the effort vs. time saved. Gonna go ahead and close it out to clean up the queue.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•