Bug 463257 - Need unattended way to run sosreport
Summary: Need unattended way to run sosreport
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: sos
Version: 4.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Adam Stokes
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On: 386691
Blocks: 467444
TreeView+ depends on / blocked
 
Reported: 2008-09-22 18:30 UTC by Richard Ryder
Modified: 2018-10-19 23:50 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
* when run, sosreport asks the user for a name and a ticket number. Previously, this meant that the tool could not be run without user input. Sosreport now includes options to supply a name and ticket number at the command line (with --name and --ticket), so that sosreport can be called automatically by an application. This enables applications to collect data automatically at the time that a problem occurs.
Clone Of:
Environment:
Last Closed: 2009-05-18 20:24:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0994 0 normal SHIPPED_LIVE sos bug fix and enhancement update 2009-05-18 13:56:42 UTC

Comment 1 RHEL Program Management 2008-09-22 18:54:10 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Jim Wildman 2008-10-28 14:57:32 UTC
I would find this feature very useful as well.  We are currently using a bash script with HERE document to run sosreport.  would be much better to either have a full auto mode (it picks the values) or some command line options to specify the name, etc.  An option to automatically mail the report somewhere would be useful as well.

Comment 4 Adam Stokes 2008-10-28 15:17:15 UTC
Hi Jim,

If you would please create a BZ for the email feature under RHEL5 and RHEL4 so that it can be considered in a later release.

Thank you
Adam

Comment 7 Ruediger Landmann 2009-01-29 06:22:32 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
* when run, sosreport asks the user for a name and a ticket number. Previously, this meant that the tool could not be run without user input. Sosreport now includes options to supply a name and ticket number at the command line (with --name and --ticket), so that sosreport can be called automatically by an application. This enables applications to collect data automatically at the time that a problem occurs.

Comment 10 errata-xmlrpc 2009-05-18 20:24:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0994.html


Note You need to log in before you can comment on or make changes to this bug.