| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
When we're using add_string_as_file() to add tailed file contents
to the archive the string may contain many thousands of lines.
Only print a summary snippet showing the last line to avoid
spamming entire log files to the terminal in -vv mode.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One dirList was missed in commit d4ebd07:
Traceback (most recent call last):
File "/usr/sbin/sosreport", line 23, in <module>
main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1229, in main
sos.execute()
NameError: global name 'dirList' is not defined
> /usr/lib/python2.7/site-packages/sos/plugins/sar.py(67)setup()
-> if sar_filename not in dirList:
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are collecting powerpc dir from debugfs which is causing
some issues.. Also we don't need that dir data for debugging
purpose... Hence removing that file.
Also collecting selected files from /proc/ppc64 directory
instead of collecting entire directory.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
---
sos/plugins/powerpc.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
| |
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
|
|
| |
Collect websocket proxy logs and broker/console httpd conf
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
| |
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
| |
Signed-off-by: Pep Turró Mauri <pep@redhat.com>
|
|
|
|
|
|
|
|
| |
Add the 'ssl_access_log' and 'ssl_error_log' files to the default
apache log collection and reduce the sizelimit passed to
add_copy_spec_limit() from 15M to 5M.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
The OpenShift node environment adds a new Apache log at:
/var/log/httpd/openshift_log
Capture it in the OpenShift plugin.
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>
|
|
|
|
|
|
|
| |
ActiveMQ was cloned from MongoDB. Fix the comment to refer to the
correct component.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
Enable broker and node data collection by detecting the respective
configuration files and automatically collect files and command
output for the components present.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Add a plugin for the MongoDB document database:
https://www.mongodb.org/
Remove MongoDB log collection from the OpenShift plugin.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Add a plugin for the Apache ActiveMQ messaging server:
http://activemq.apache.org/
Remove ActiveMQ log collection from the OpenShift plugin.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Allow the vendor path and ruby version to be overridden by
subclasses without needing to duplicate code.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
|
| |
OpenShift collects dhclient configuration and Apache httpd logs.
These are already handled by their respective plugins; remove
them from the OpenShift module.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
| |
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>
|