| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixes #297.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #300.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Add an 'all_logs' option to the MySQL / MariaDB plugin to allow
the old behaviour of collecting all logs files to be requested.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Since we pass --user and --password on the mysqldump command line
we need to use suggest_filename to prevent those values appearing
in report paths.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Add support for the MariaDB fork of MySQL.
Since a MySQL or MariaDB instance may have very large log files under
/var/log/{mysql,mariadb}. For now restrict log collection to the main
demon log.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
E.g.:
useradd --password '$6$oIW3o2Mr$XbWZKaM7nA.cQqudfDJScupXOia5h1u517t6Htx/Q/MgXm82Pc/OcytatTeI4ULNWOMJzvpCigWiL4xKP9PX4.' test
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 /sys/fs/gfs2/*/withdraw.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Remove the calls to up2date_client's Hardware module and simplify
the plugin so we support Red Hat, Debian and Ubuntu from a single
module.
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>
|
|
|
|
|
|
|
|
|
| |
If ausearch is run without a tty it expects log data to be fed on
stdin. This causes the selinux plugin to appear to hang when run
e.g. over an ssh session. Force the command to use the logs
defined in auditd.conf by specifying --input-logs.
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Add some additional files to the samba plugin and switch from
collecting whole directories (e.g. /etc/samba, /var/log/samba) to
collecting individual named files within those directories.
This gives more predictable behaviour and more manageable default
report sizes.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
resolves issue #308
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
| |
Collect information for hp Server Management Drivers and Agent.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
We still have a number of issues to resolve before 3.2 but we're
making good progress (albeit a little overdue). Let's tag the
current tree as an alpha release so that development distributions
(e.g. Fedora rawhide / Debian unstable) can package it and get
more testing.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Add a plugin for HAProxy, based on a suggestion from Brandon
Perkins in rhbz#1107865.
Fixes #303.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
I've been using firewalld.py as a template for new plugins; forgot
to fix the copyright header to have the correct authorship.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #302.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Remove the ipvsadm command collection from the cluster plugin and
put it in it's own plugin. Also collect connection entries with
'ipvsadm -Lc'.
Fixes #302.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Suggested by Bryan Quigley. Fixes #299.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #261.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #179.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Add basic support for docker-io:
https://www.docker.io/
Fixes #263.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Add support for firewalld on Red Hat based distributions. Based
on a patch to networking.py from Jamie Bainbridge.
Fixes #292.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Invoke stap-report to collect more stap-focused kernel/environmental
information.
Signed-off-by: Michele Baldessari <michele at acksyn.org>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
Fixes #288.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
stokachu++
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
The PermissionError exception is a python3 feature. Instead catch
the OSError (from which it inherits) to work on both py2 and py3
runtimes.
Related: #164
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old profiling report was removed in favour of using external
profilers like cProfile. This is useful for overall profiling and
identifying code hotspots but is less helpful for drilling down
to the collection of individual items.
Since running programs is the dominant cost on typical hosts log
the time taken to run each call and tag it with the binary name.
This allows looking at the per-call and per-command cost across a
run of sosreport.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This plugin will collect all data relevant to PCP. Namely, it will
parse /etc/pcp.conf and then collect the following:
$PCP_SYSCONF_DIR
$PCP_VAR_DIR/config (we explicitely avoid $PCP_VAR_DIR/config/
{pmchart,pmlogconf,pmieconf,pmlogrewrite} as in 99% of the cases
they are just copies from the rpms.
$PCP_VAR_DIR/pmlogger/`hostname` (if it exists and if its size is
< 100MB by default. Unless option 'all_pcplogs' is specified)
$PCP_LOG_DIR/pmcd
$PCP_LOG_DIR/NOTICES*
$PCP_LOG_DIR/pmns
$PCP_LOG_DIR/*/*.log
$PCP_LOG_DIR/*/*.log*
$PCP_LOG_DIR/*/config*
Output of command 'pcp' to get the current status of the PCP
infrastructure.
The set of collected files has been discussed on the PCP mailing list:
http://mail.performancecopilot.org/pipermail/pcp/2014-April/004770.html
Signed-off-by: Michele Baldessari <michele at acksyn.org>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
The preferred_archive_name() policy method returns a class, not
a name. Rename it to 'get_preferred_archive()'.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Fixes Issue #293.
Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Allows the plugin to collect data on standalone dwh and reports
installations.
Related: Issue #236, Issue #237
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Based on a patch for sos-2.0 by Sandro Bonazzola.
Fixes Issue #237.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Add support for DWH to the oVirt plugin. Based on a patch for
sos-2.0 by Sandro Bonazzola. Fixes Issue #236.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Make sure that the oVirt plugin only runs if the ovirt-engine
package is present.
This will need to be expanded when the ovirt-engine-dwh and
ovirt-engine-reports support is merged (Issue #236 and Issue #237).
Signed-off-by: Brym M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This configuration file may contain passwords of the form:
And:
Add these to the existing 'passwd_files' processing added in
commit 3da5697.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
These two configuration files may contain passwords of the form:
Add do_file_sub() calls to the plugin's postproc to remove these.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|