| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Failing to send a signal to the gluster daemons will happen on
any system with gluster installed but not running; don't log it
at warning level.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Rewrite MCollective passwords and be a bit more flexible with
white space around =.
Also provide examples of strings for the string substitutions.
Related: #323.
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
|
|
| |
Reduce glob based collection and aim at more specific paths.
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement a global '--log-size' option that causes all plugins
implementing log size limiting (via add_copy_spec_limit()) to
apply the specified value as the size limit.
Convert the auditd, cups, logs, nscd, rabbitmq, squid, and
upstart plugins to use the new option.
Fixes #306.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement a global '--all-logs' option that causes all active
plugins to attempt to collect all logs present regardles of
rotation or size limiting. This replaces the numerous per-plugin
'all_logs' options and avoids the need for clumsy command lines
like:
-k audit.all_logs,cron.all_logs,logs.all_logs,pcp.all_logs,...
The audit, cron, cups, libvirt, logs, mysql, and pcp plugins have
been converted to use the new option.
Fixes #305.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Although it's a 'verification' this is just a simple configuration
test of the environment; it typically completes in <1s.
Related: #304.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Related: #304.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Related: #304.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce a mechanism to allow plugins selective access to global
command line options via the standard Plugin.get_option() method.
Use this to implement a global --verify that plugins can test to
determine whether or not to execute potentially costly verify
operations.
Related: #304.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
This significantly reduces log noise at maximum verbosity. Users
needing the interactive debugger can either use less verbosity (-v)
or put up with the flood of messages.
Fixes #319.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #320.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
The openshift plugin used an obsolete cgroups path ("/cgroups").
Since the cgroups plugin now collects full information on all
configured cgroups remove this from the openshift plugin.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Has been deprecated for years. Kill it and replace the remaining
uses with Plugin.get_option().
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Similar to commit fd68a0c; add support for outputing messages
indicating the time taken to call collect() for each plugin:
[...]
[plugin:systemtap] collected plugin 'systemtap' in 16.8759040833
[plugin:systemd] collected plugin 'systemd' in 19.5138418674
[plugin:block] collected plugin 'block' in 40.066119194
[plugin:yum] collected plugin 'yum' in 101.271748066
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Historically sos has ignored all types of file system node that
are not regular files or directories. Add support for collecting
block, character, fifo and socket special nodes by creating
matching nodes in the archive and propagating permissions from
the host file system.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We're currently very verbose about the copyspecs and path lists
we process during setup() and collect() but right now we do not
log the same level of information for artefacts that are included
in the archive as a consequence of Plugin.do_copy_path() calling
copy_dir() on the result of copyspec expansion.
Log these explicitly and promote logging of copyspec expansion
to match that used for command logging.
This makes us very chatty at high verbosity but allows a clean
view of exactly what the tree walking code is doing (which my
sanity desperately needs).
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
The MegaCLI utility is a proprietary utility provided by LSI which can
perform reporting and management functions for MegaRAID SAS|SCSI
adapters. If the MegaCLI is detected, the plugin will collect basic
information such as adapter status, firmware rev, battery status, and
raid config.
Signed-off-by: Jon Magrini <jmagrini@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Collect specific libvirt configuration and log files by glob
instead of scoopting up whole directories from /etc and /var and
add blacklisting for the libvirt SASL authentication databases.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|