SUPPORTCONFIG.CONF(5)
π NAME π
supportconfig.conf β the configuration file for supportconfig(8), straight out of the Support Utilities Manual. This is the file that tells supportconfig what to grab, what to skip, and what little extras to bring to the group chat. π
β¨
π ENVIRONMENT π
SC_CONFβ bestie, you can use this environment variable to specify an alternate configuration file path. Iconic for testing or keeping your config somewhere cute and custom. π«Ά
Example:
export SC_CONF=/opt/supportconfig.conf
β¨ DESCRIPTION β¨
Okay so real talk: regular and additional options are used to turn a feature either on (1) or off (0), whereas variable options usually have differing values depending on the desired outcome. Running supportconfig -C will create a default /etc/supportutils/supportconfig.conf. The format for setting an option is:
TOKEN=value
π Regular Options π
Each regular option is described with the TOKEN used, a description, the filename containing the information, and the default value in parentheses. Each option can be included (-i) or excluded (-x) from the command line. Use -F to see a list of feature keywords. Periodt. π
OPTION_APPARMORβ AppArmor information.security-apparmor.txt(1)OPTION_AUDITβ Auditing information.security-audit.txt(1)OPTION_AUTOFSβ autofs information.fs-autofs.txt(1)OPTION_BOOTβ Information related to booting and the kernel.boot.txt(1)OPTION_BTRFSβ Information related to the B-tree file system.fs-btrfs.txt(1)OPTION_CIMOMβ CIMOM and OpenWBEM related information.cimom.txt(1)OPTION_CRASHβ Information related to capturing a system core dump.crash.txt(1)OPTION_CRONβ Information related to cron and at.cron.txt(1)OPTION_DAEMONSβ SystemD service information.systemd.txt(1)OPTION_DBUSβ D-Bus status and configuration information.dbus.txt(1)OPTION_DHCPβ Dynamic Host Configuration Protocol (DHCP) information.dhcp.txt(1)OPTION_DISKβ Disk, file system mounts and partition information.fs-diskio.txt(1)OPTION_DNSβ Domain Name Service information.dns.txt(1)OPTION_DOCKERβ Docker virtualization information.docker.txt(1)OPTION_DRBDβ Distributed Replicated Block Device information.drbd.txt(1)OPTION_ENVβ System environment information, including sysctl and root's environment.env.txt(1)OPTION_ETCβ Recursively gets*.conffiles, along with various other configuration files in/etc.etc.txt(1)OPTION_EVMSβ Enterprise Volume Management System related information.evms.txt(1)OPTION_HAβ Heartbeat/high availability cluster information.ha.txt(1)OPTION_HAPROXYβ Heartbeat/high availability proxy cluster information.haproxy.txt(1)OPTION_HISTORYβ root user shell history.history.txt(0)OPTION_IBβ InfiniBand information. Only available with SLES11 or greater.ib.txt(1)OPTION_ISCSIβ iSCSI target and initiator information.fs-iscsi.txt(1)OPTION_KVMβ KVM virtualization related information. Available in SLES11 SP1 or newer, otherwise ignored.kvm.txt(1)OPTION_LDAPβ LDAP related information, including a root DSE search.ldap.txt(1)OPTION_LVMβ Linux Volume Management related information.lvm.txt(1)OPTION_LXCβ Linux Container virtualization information.lxc.txt(1)OPTION_MEMβ Memory related information.memory.txt(1)OPTION_MODβ System kernel module information.modules.txt(1)OPTION_MPIOβ Native device mapper multipathing information.mpio.txt(1)OPTION_NETβ Network related information, including firewall rules.network.txt(1)OPTION_NFSβ Network File System related information.nfs.txt(1)OPTION_NTPβ Network Time Protocol related information.ntp.txt(1)OPTION_NVMEβ Non-Volatile Memory Express (NVMe) information.nvme.txt(1)OPTION_OCFS2β OCFS2 file system related information.ocfs2.txt(1)OPTION_GFS2β GFS2 file system related information.ofs-gfs2.txt(1)OPTION_OFILESβ List of all open files usinglsof.open-files.txt(1)OPTION_PODMANβ Podman virtualization information.podman.txt(1)OPTION_PRINTβ Printing and CUPS related information.print.txt(1)OPTION_PROCβ Includes key/procfile content.proc.txt(1)OPTION_TUNEDβ Gathers dynamic adaptive system tuning daemon information.tuned.txt(1)OPTION_SAMβ Supportability Analysis Module report. NOTE: This takes up to 10 minutes to complete.sam.txt(1)OPTION_SARβ System Activity Reporting related information, including copies of the SAR data files.sar.txt(1)OPTION_SLERTβ SLES Real Time kernel related information.slert.txt(1)OPTION_SLPβ Service Location Protocol related information.slp.txt(1)OPTION_SMARTβ Self-Monitoring, Analysis, and Reporting Technology related information for hard disks. WARNING: Some hard disk controllers and drives do not behave kindly. Probing SMART data has been known to change file systems to read only mode or even hang the server. Make sure probing SMART data works in your environment before enabling this option.fs-smartmon.txt(0)OPTION_SMBβ Samba and CIFS related information.samba.txt(1)OPTION_SMTβ Subscription Management Tool (SMT) related information.smt.txt(1)OPTION_SRAIDβ Software RAID related information.fs-softraid.txt(1)OPTION_SSHβ Secure Shell server information.ssh.txt(1)OPTION_SSSDβ System Security Services Daemon information.sssd.txt(1)OPTION_SYSCONFIGβ Configuration files found in/etc/sysconfig.sysconfig.txt(1)OPTION_SYSFSβ Gathers the contents of all files in/sys.sysfs.txt(1)OPTION_UDEVβ UDEV device manager related information.udev.txt(1)OPTION_UFILESβ Additional user included files. Any file listed in/usr/lib/supportconfig/additional-files.listwill be included in thefs-files-additional.txtfile whensupportconfigis run. Theadditional-files.listfile must be owned by root and have0600or0400permissions. Include the full file path of the files you want included. Any binary files will be base64 encoded.fs-files-additional.txt(1)OPTION_UPβ Update client related information.updates.txt(1)OPTION_WEBβ Web server and web related information.web.txt(1)OPTION_Xβ X graphical system related information.x.txt(1)OPTION_XENβ XEN virtualization related information.xen.txt(1)FORCE_OPTION_PAMβ Pluggable Authentication Module related information, including user account information. It is disabled in compliance with General Data Protection Regulation (GDPR). To consent to supportconfig collecting this information, setFORCE_OPTION_PAM=1.pam.txt(0)
π¦ Additional Regular Options π¦
Each additional regular option is described with the TOKEN used, a description, the startup option used to set it, the filename if any, and the default value in parentheses. If no startup option is listed, then you must set this option in the supportconfig.conf file. No cap. π
ADD_OPTION_FSLISTβ A full file list usingfindfrom the root of the filesystem. Startup option:-L.fs-files.txt(0)ADD_OPTION_LOGSβ Includes the entire log file, including comments, instead of justVAR_OPTION_LINE_COUNTlines of it. Additional rotated logs are included if available. Startup option:-l(0)ADD_OPTION_LOCAL_ONLYβ Disables curl checks to SUSE update servers. By default external SUSE update servers are checked. Startup option:-c(0)ADD_OPTION_MINDISKβ Minimizes the amount of disk information and detailed scanning. Startup option:-d(0)ADD_OPTION_MAXYASTβ NormallyVAR_OPTION_LINE_COUNTlines are gathered from all/var/log/YaST2/*files. This option gathers each entire file. Startup option:-y(0)ADD_OPTION_RPMVβ Runs anrpm -Von every installed RPM package. This takes some time to complete. Startup option:-v.rpm-verify.txt(0)ADD_OPTION_SCRUBβ Scrub sensitive data from all collected files before packing the archive. Requires thesupportutils-scrubpackage (version 1.2 or later). Obfuscates IP addresses, MAC addresses, hostnames, domain names, usernames, and serial numbers. Equivalent to passing-jon the command line. UseSUPPORTUTILS_SCRUB_OPTSto pass additional options tosupportutils-scrub. Startup option:-j(0)ADD_OPTION_SLPβ Normally only the base SLP service types are listed. This option allows you to query each of the discovered service types individually. Startup option:-s.slp.txt(0)
π Variable Options π
Each variable option is described with the TOKEN used, a description, the startup option used to set the TOKEN, and the default value in parentheses. These are the ones with actual vibes and values, not just on/off energy. β¨
VAR_OPTION_BIN_TIMEOUT_SECβ The number of seconds to wait before ignoring a timed command. Commands that have been timed will show a progress dot.on the screen every 30 seconds while waiting for the command to complete. If the command does not complete within theVAR_OPTION_BIN_TIMEOUT_SECperiod, it is ignored and the supportconfig moves on to gather additional information. If the command completes before supportconfig finishes, its output will be included in the tar ball. The timed command has been backgrounded and left running. You may need to kill this process, and the log file will identify what the process is. Startup option:-T(300)VAR_OPTION_CONTACT_COMPANYβ Company name to include in thebasic-environment.txt. Startup option:-O(Not Set)VAR_OPTION_CONTACT_EMAILβ Contact's email address to include in thebasic-environment.txt. Startup option:-E(Not Set)VAR_OPTION_CONTACT_NAMEβ Contact's name to include in thebasic-environment.txt. Startup option:-N(Not Set)VAR_OPTION_CONTACT_PHONEβ Contact's phone number to include in thebasic-environment.txt. Startup option:-P(Not Set)VAR_OPTION_CONTACT_STOREIDβ Contact's company store identifier to include in thebasic-environment.txt. Startup option:-W(Not Set)VAR_OPTION_CONTACT_TERMINALIDβ Contact's company terminal identifier to include in thebasic-environment.txt. Startup option:-M(Not Set)VAR_OPTION_CUSTOM_ARCHβ this is the string for a custom tar ball filename in the formatscc_<string>; startup flag is-B, default is Not Set. You can absolutely drop supportconfig info into the tar ball filename with the string qualifiers below, and all spaces get swapped for underscores. The-qand-ustartup options automatically append_%uonto the filename unless a%uis already in the string. A pre-existing archive directory or tar ball filename also triggers appending_%uonto the filename.
Qualifier cheat sheet, no skips:
%rβ Service Request number%sβ Server's hostname%dβ Supportconfig run date%tβ Supportconfig run time%uβ A supportconfig unique identifier, UUID ormktempwith 30 places ifuuidgenisn't found%Bβ The base filename options =%s_%d_%t
Examples:
The default supportconfig file format scc_%B or scc_%s_%d_%t
yields "scc_hostname_100326_1105.tbz"
supportconfig -B "before problem %s" yields
"scc_before_problem_hostname.tbz"
supportconfig -B "testcase 1 %d-%t" yields
"scc_testcase_1_100326-1105.tbz"
supportconfig -qB "testcase %d %t" yields
"scc_testcase_100326_1105_21a17f8c-13c2-44ff-
b0ef-29b7fa7d91c0.tbz"
supportconfig -B "testcase %d %t %u" yields
"scc_testcase_100326_1105_21a17f8c-13c2-44ff-
b0ef-29b7fa7d91c0.tbz"
supportconfig -B "%r bad" -r 12345678901 yields
"scc_SR12345678901_bad.tbz"
VAR_OPTION_EXHASTIVE_MEMβ includes sysfs memory information on systems with 16TB of memory or more; startup flag is-J, default is Not Set. Yes, the variable name is spelled exactly like that β copy it, don't "fix" it, bestie. πVAR_OPTION_DMESGβ when enabled, supportconfig logs to/dev/kmsginstead of the system logs; default isNone (0).VAR_OPTION_GPG_UIDβ the GPG recipient's user ID used to encrypt the supportconfig tar ball for more secure uploads; startup flag is-G, default is Not Set.VAR_OPTION_HBREPORT_DIRSβ the directories in which to look for hb_report tar balls with filenames that begin withhb_report,hb-reportorhbreportand end in.tar.bz2; default isNone ("/tmp /root /var/log").VAR_OPTION_HEADER_FILEβ ifVAR_OPTION_HEADER_FILEexists, it will be prepended to each supportconfig text file. Useful for including legal or instructional statements at the beginning of each file; default isNone (/usr/lib/supportconfig/header.txt).VAR_OPTION_JOURNALCTL_LINE_COUNTβ sets the number of log lines to get for the current boot from journald. If the value is set to0, all lines of the current boot log are retrieved; default isNone (10000).VAR_OPTION_JOURNALCTL_MAX_BOOTSβ whenADD_OPTION_LOGSis set, this value determines the maximum number of journald boot log entries to include inboot.txt. If the value is set to0, all boot logs from the journal will be retrieved; default isNone (10).VAR_OPTION_LINE_COUNTβ the number of lines to include when getting a log file. Zero means get the entire file; startup flag is-I, default is(500).VAR_OPTION_LOG_DIRSβ the supportconfig tar ball location. The first valid location in the list is always used; startup flag is-R, default is("/var/log /tmp").VAR_OPTION_MSG_LINE_COUNTβ when the system logs exceed theVAR_OPTION_MSG_MAXSIZE, only theVAR_OPTION_MSG_LINE_COUNTlines are retrieved; default isNone (200000).VAR_OPTION_MSG_MAXSIZEβ the maximum number of/var/log/messageslines to get. Zero means get the entire file; startup flag is-X, default is(26214400).VAR_OPTION_PENGINE_FILES_LIMITβ the maximum number of heartbeat policy engine log files to include in the supportconfig tar ball; startup flag is-H, default is(250).VAR_OPTION_RM_LOCAL_FILEβ removes the local supportconfig tar ball file when supportconfig completes. Useful when uploading the tar ball to another server and no local copy is wanted; default isNone (0).VAR_OPTION_SBMβ screen buffer mode. Useful for third party applications running supportconfig. No status or progress is displayed on screen, just the current supportconfig gathering action. All status information is logged insupportconfig.txt; startup flag is-b, default is(0).VAR_OPTION_SAR_FILES_LIMITβ the maximum number of SAR data and text files to include in the supportconfig tar ball. This number applies to the data and text files separately,30data and30text sar files; startup flag is-S, default is(30).VAR_OPTION_SILENTβ when set to1, supportconfig runs in quiet mode. This option is useful if you plan on running regular supportconfigs in a cron job for example; startup flag is-Q, default is(0).VAR_OPTION_UNIQUE_FILEβ when set to1, supportconfig adds a unique identifier string to the tar ball filename. This option is usually not needed, but is useful for public upload sites, like SUSE or service providers; startup flag is-q, default is(0).VAR_OPTION_UPLOAD_TARGETβ specifies where the supportconfig tar ball will be uploaded, when using the-ustartup option. The default is SUSE's public secure FTPS upload server. You should use the-r srnumto specify the service request number for all tar balls uploaded to SUSE; startup flag is-u, default is(SUSE_UPLOAD_NA_FTPES).
The following variables are defined for use as upload targets for both VAR_OPTION_UPLOAD_TARGET and VAR_OPTION_UPLOAD_TARGET_ALT:
SUSE_UPLOAD_NA_HTTPSβ Secure HTTPS uploads to SUSE's North American FTP ServerSUSE_UPLOAD_NA_FTPESβ Secure FTPS explicit uploads to SUSE's North American FTP ServerSUSE_UPLOAD_NA_FTPβ Unsecure FTP uploads to SUSE's North American FTP ServerSUSE_UPLOAD_EMEA_HTTPSβ Secure HTTPS uploads to SUSE's European FTP ServerSUSE_UPLOAD_EMEA_FTPESβ Secure FTPS explicit uploads to SUSE's European FTP ServerSUSE_UPLOAD_EMEA_FTPβ Unsecure FTP uploads to SUSE's European FTP Server
If you want to change the default -u upload target to SUSE's European FTP server, add the following to /etc/supportutils/supportconfig.conf:
VAR_OPTION_UPLOAD_TARGET=${SUSE_UPLOAD_EMEA_FTPES}
VAR_OPTION_UPLOAD_TARGET_ALTβ specifies an alternate upload target where the supportconfig tar ball will be uploaded, when using the-astartup option. You should use the-r srnumto specify the service request number for all tar balls uploaded to SUSE; startup flag is-a, default is(SUSE_UPLOAD_NA_HTTPS).
If you want to change the default -a alternate upload target to SUSE's European FTP server, add the following to /etc/supportutils/supportconfig.conf:
VAR_OPTION_UPLOAD_TARGET_ALT=${SUSE_UPLOAD_EMEA_HTTPS}
VAR_OPTION_WAIT_TRACEβ enables the wait trace verbose logging option. When enabled, a time stamp before and after each command or file logged in supportconfig is displayed; startup flag is-w, default is(0).
π REPORTING BUGS π
Please submit bug fixes or comments via: http://en.opensuse.org/Supportutils#Reporting_Bugs
π AUTHOR π
Jason Record <jason.record@suse.com>
π SEE ALSO π
supportconfig(8) supportconfig.rc(3)
π That's a wrap, bestie! Huge hugs from the supportutils crew β source/version is supportutils, date is 20 Mar 2025, and this page is literally SUPPORTCONFIG.CONF(5). Periodt. π
π¦ where this page comes from
- opensuse-leap 16.0: supportutils 3.2.14.2-160000.1.1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms