Tool

supportconfig for Linux

tool
Reads:

20019

Score:
4
4
12
 
Comments:

8

license: 
GPLv2
home page url: 
http://en.opensuse.org/NTSutils
download url: 
http://download.opensuse.org/repositories/Novell:/NTS/SLE_10/noarch/ntsutils-1.00-80.1.noarch.rpm

Download Now

Installation Instructions

  1. Uninstall the supportconfig and chkbin RPM packages
  2. rpm -e supportconfig chkbin

  3. Download ntsutils-1.00-80.1.noarch.rpm
  4. Install the RPM
  5. rpm -Uvh ntsutils-1.00-80.1.noarch.rpm

  6. Run the supportconfig command as root; use -h or man page to see more options.
  7. supportconfig

  8. To view the information files, assuming the tarball filename is: /var/log/nts_host1_080509_1300.tbz

    cd /var/log
    tar jxf nts_host1_080509_1300.tbz
    cd nts_host1_080509_1300
    ls -l

  9. Perform a Basic Server Health Check with Supportconfig

If you have difficulties installing the RPM, do the following:

  1. Change to the root of the file system
  2. cd /

  3. Download ntsutils-1.00-80.1.noarch.rpm
  4. Extract the RPM files
  5. rpm2cpio ntsutils-1.00-80.1.noarch.rpm | cpio -ivd

  6. The preferred method is to install the RPM using the rpm command, not rpm2cpio.

Reporting Bugs

Updates to Version 2.19-66:

  • Fixed the logic for checking the kernel taint status
  • Correctly gets NCS resource .out files
  • Added the schealth command that runs a basic health check using the basic-health-check.txt. It saves the output in the basic-health-report.txt
  • Integrated schealth output into supportconfig

Updates to Version 2.19-63:

  • When getting configuration files, supportconfig checks to see if it's a text file first.
  • Includes NSS performance information.
  • Added the mcelog information if available.

Updates to Version 2.19-58:

  • Added the ntsutils package to the openSUSE Build Service
  • Supports all types of plugins, just make sure it has execute permissions.
  • Enhanced the plugin diplay and output order.
  • Added lsscsi -g to mpio.txt
  • Added udevinfo to udev.txt

Updates to Version 2.19-46:

  • Supportconfig can now automatically upload it's tar ball to ftp.novell.com using the -u switch. The -u switch is the same as -r, but -u also uploads the tar ball. See supportconfig(1) for more details.
  • Added plugin ability to allow custom scripts to be added to supportconfig, see supportconfig(1) PLUGINS for more details.
  • Added -r and contact information to be included in the basic-environment.txt. See supportconfig(1) and supportconfig.conf(5) for more details.
  • MPIO checks for repackaged multipath-tools
  • Added rpm --last to rpm.txt
  • Created supportconfig.conf(5) man page and updated existing man pages
  • Added dmsetup and udevinfo commands to mpio, lvm and evms
  • Added netstat -as to network.txt

Note: Detailed system information and logs are collected and organized in a manner that helps reduce service request resolution times. Private system information can be disclosed when using this tool. If this is a concern, please prune private data from the log files. Several startup options are available to exclude more sensitive information. Refer to the man page to see these options.





User Comments

Why not include it?

Submitted by jeffry on 1 May 2008 - 12:51pm.

Would be nice if this could be included in the normal OES/Linux software selection and the rug channels...

Including the suportconfig

Submitted by jrecord on 1 May 2008 - 3:28pm.

We are working at including the supportconfig in the distribution. There is a lot involved in adding it, in addition to getting approval. Thanks for the suggestion!

WalterH's picture

Sysstat package

Submitted by WalterH on 12 May 2008 - 8:37am.

It seems that supportconfig needs the sysstat package to include some CPU statistics. But there is no warning if sysstat is not installed.

Walter

Sysstat package

Submitted by jrecord on 13 May 2008 - 3:36pm.

Supportconfig will use iostat, mpstat and sar if the sysstat package is installed, otherwise it skips that data. Supportconfig is intended to have as little dependencies as possible. This way it gathers what information it can, regardless of the packages installed.

How about an option to show

Submitted by djh0653 on 10 June 2008 - 11:57am.

How about an option to show the differences in a current config file from a "baseline" config file.

Baseline diff

Submitted by jrecord on 11 June 2008 - 3:01pm.

I've thought about this before, but there are already some excellent tools to compare files (kdiff3, vimdiff, kompare). So, I really haven't felt a need to go beyond what is already there.

File System List a way to long

Submitted by mkoeppl on 23 July 2008 - 8:06am.

Great tool but
it seems that it always scans the whole / in the File System List Section. This is pretty useless for troubleshooting a fileserver.
The option -L seems to be always set.

File System List too long

Submitted by jrecord on 28 July 2008 - 8:47am.

This option is not set by default, and must have been changed.

The following switches will enable a full file listing: -ALe -or- /etc/supportconfig.conf has been modified with either of the following:
ADD_OPTION_FSLIST=1
ADD_OPTION_EDIR_SEARCH=1

You can force supportconfig to run with it's default settings using -D, which will not set ADD_OPTION_FSLIST.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <i> <strong> <cite> <code> <img><ul> <ol> <li> <div> <dl> <dt> <dd> <h1> <b> <strong> <h2> <h3> <pre> <table> <td> <tr> <th> <blockquote>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

© 2008 Novell, Inc. All Rights Reserved.