aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-06-26 12:29:09 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-07-21 10:01:01 -0400
commitb350e34bc175a56eb8b941ae7e3c89b2d876ea48 (patch)
tree4c015d95b8ab65c3494cbb69922515364f3e3e20 /man
parent063273cb43d9b641d48fcf160d1e993154d7ce3f (diff)
downloadsos-b350e34bc175a56eb8b941ae7e3c89b2d876ea48.tar.gz
[global] Update config file location and layout
Moves the default config file we look for to /etc/sos/sos.conf instead of /etc/sos.conf. Extends the config file to look for a section matching the name of the component being used. Renames the "general" section to "global" and the "tunables" section to "plugin_options". Updates the default sos.conf to this style and adds some comments to the file. Update the man page for sos.conf. Note that this commit does NOT update sos.spec to drop the default configuration file in the new location, as that will be handled by a later commit to update the specfile wholesale. Closes: #2125 Resolves: #2136 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/en/sos.conf.544
1 files changed, 23 insertions, 21 deletions
diff --git a/man/en/sos.conf.5 b/man/en/sos.conf.5
index 2d2386f7..248af60c 100644
--- a/man/en/sos.conf.5
+++ b/man/en/sos.conf.5
@@ -3,11 +3,11 @@
sos.conf \- sosreport configuration
.SH DESCRIPTION
.sp
-sosreport uses a configuration file at /etc/sos.conf.
+sosreport uses a configuration file at /etc/sos/sos.conf.
.SH PARAMETERS
.sp
-There are three sections in the sosreport configuration file:
-general, plugins and tunables. Options are set using 'ini'-style
+There are sections for each sos component, as well as global values and
+those for plugin options. Options are set using 'ini'-style
\fBname = value\fP pairs. Disabling/enabling a boolean option
is done the same way like on command line (e.g. process.lsof=off).
@@ -18,30 +18,30 @@ will result in enabling those options, regardless of value set.
Sections are parsed in the ordering:
.br
-- \fB[general]\fP
+- \fB[global]\fP
.br
-- \fB[plugins]\fP (disable)
+- \fB[component]\fP
.br
-- \fB[plugins]\fP (enable)
-.br
-- \fB[tunables]\fP
+- \fB[plugin_options]\fP
.TP
-\fB[general]\fP
+\fB[global]\fP
<option> Sets (long) option value. Short options (i.e. z=auto)
are not supported.
.TP
-\fB[plugins]\fP
-disable Comma separated list of plugins to disable.
-.br
-enable Comma separated list of plugins to enable.
+\fB[component]\fP
+Each component will have a separate section, and it will support the options
+that particular component provides. These are readily identifiable in the
+\fB--help\fP output for each component, E.G. \fBsos report --help\fP.
.TP
-\fB[tunables]\fP
-plugin.option Alter available options for defined plugin.
+\fB[plugin_options]\fP
+Alter available options for defined (and loaded) plugins.
+
+Takes the form plugin.option = value, for example \fBrpm.rpmva = true\fP.
.SH EXAMPLES
To use quiet and batch mode with 10 threads:
.LP
-[general]
+[global]
.br
batch=yes
.br
@@ -51,19 +51,21 @@ threads=10
.sp
To disable the 'host' and 'filesys' plugins:
.LP
-[plugins]
+[report]
.br
-disable = host, filesys
+noplugins = host,filesys
.sp
To disable rpm package verification in the RPM plugin:
.LP
-[tunables]
+[plugin_options]
.br
rpm.rpmva = off
.br
.SH FILES
.sp
-/etc/sos.conf
+/etc/sos/sos.conf
.SH SEE ALSO
.sp
-sosreport(1)
+sos-report(1)
+sos-collect(1)
+sos-clean(1)