aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ovirt] add ovirt-engine-reports configBryn M. Reeves2014-09-121-0/+1
| | | | | | | | | | | | | | | | | | | Add: /etc/ovirt-engine-reports |-- ovirt-engine-reports.conf.d | |-- 10-setup-jboss.conf | `-- 10-setup-protocols.conf `-- sso.properties to the report Change-Id: I2287258b9652aa9ebf7f60528c378f4eeb2179d3 Related-To: https://bugzilla.redhat.com/1086942 Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com> --- sos/plugins/ovirt.py | 1 + 1 file changed, 1 insertion(+)
* [ovirt] ensure /etc/rhevm is collectedBryn M. Reeves2014-09-121-1/+1
| | | | | | | | | The path /etc/rhevem may be a symbolic link. Include a trailing slash in the copy spec to ensure it is collectes. Based on a suggestion from Sandro Bonazzola. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [rpm] Add Signature tag to the output of 'installed-rpms'poornimakshirsagar2014-09-111-2/+3
| | | | | | | | RPM meta data consists of Signature,Packager,BuildHost,Vendor tags it is useful for identifying 3rd party packages present on a system. This patch adds the gpg and pgp signature columns to installed-rpms. Signed-off-by: Poornima M. Kshirsagar <pkshiras@redhat.com>
* [networking] Collect a list of active network namespaces.Lee Yarwood2014-09-051-0/+1
| | | | | | | | | Useful in Openstack environments. Fixes #384 Signed-off-by: Lee Yarwood <lee.yarwood@gmail.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [postgresql] ensure password option is initialised to known valueBryn M. Reeves2014-09-031-2/+2
| | | | | | | | | The value of self.get_option("password") is tested in the postgresql plugin's setup() method to determine if the user gave a password on the command line. Set the default value to False to ensure we get the expected comparison results. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [dbus] new dbus pluginAdam Stokes2014-08-222-1/+30
| | | | | | | | | Adds dbus plugin support for Fedora, Debian, and Ubuntu. Also pulls the `/var/lib/dbus/machine-id` out of general into this plugin. Fixes #350 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [ubuntu] rename from ubuntu-support-statusAdam Stokes2014-08-221-6/+6
| | | | | | | | In an attempt to keep distro specific collection (ie ubuntu-support-status) create a general `Ubuntu` plugin to categorize this information. This will be the default for other distributions needing to do the same. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [openvswitch] Add new pluginAdam Stokes2014-08-222-20/+47
| | | | | | | | This splits out the ovs collection data from the Neutron plugin. Fixes #328 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [general] remove tree and ls capturesAdam Stokes2014-08-221-5/+0
| | | | | | | | | | Ubuntu specifically was seeing general plugin times of ~19 seconds which most of that time spent running `tree /var/lib`. Was decided to remove this capture output and to be re-evaluated of its importance at a later date. Fixes #374 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [openstack-*,ubuntu_support_status] fix plugin_nameAdam Stokes2014-08-229-9/+9
| | | | | | | | | | | | | | | We previously fixed an issue where plugin names needed to have underscores in the actual filename otherwise they wouldn't be resolved. The `plugin_name` attribute was never updated to reflect that. This change fixes to match that of the filename so that when calling something like sosreport -o ubuntu_support_status Will work rather than fail with unable to find plugin errors. Fixes #379 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [policies] Add dist_version to policy classAdam Stokes2014-08-224-8/+29
| | | | | | | | | | | Exposes a `dist_version` to be inherited by policy classes to provide distribution release numbers. For example, on Ubuntu calling this method would return with `14.04`. Fixes #216 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [plugins] New ubuntu-support-status pluginJorge Niedbalski R2014-08-211-0/+36
| | | | | | | | | | This ubuntu-specific plugin exposes the ubuntu-support-status command for gathering package support status information. Fixes #378 Signed-off-by: Jorge Niedbalski R <niedbalski@gmail.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [networking] additional nmcli commandsBryn M. Reeves2014-08-211-0/+2
| | | | | | Collect 'nmcli con show active' and 'nmcli dev show'. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [networking] fix 'nmcli con show' usageBryn M. Reeves2014-08-211-1/+1
| | | | | | Fixes #377. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [networking] add 'brctl showmacs' outputBryn M. Reeves2014-08-211-1/+4
| | | | | | Fixes #371. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sosreport] handle KeyboardInterrupt while importing sosBryn M. Reeves2014-08-211-1/+4
| | | | | | Fixes #376 Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [postgresql] obtain PGPASSWORD from the environmentBryn M. Reeves2014-08-211-6/+11
| | | | | | | | Allow the value of PGPASSWORD to be inherited from the environment. This prevents the password being exposed in command line parameters that may be visible to other users on the system. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sos] update version templateAdam Stokes2014-08-202-19/+19
| | | | | | | | Updated `__init__.py.in` to be pep8 compliant. Also updated the version string to match that of whats defined in `sos.spec`. The alpha release 1 was manually appended since our Makefile only deals in release version. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [rpm] capture BuildHost tag for installed rpmsBryn M. Reeves2014-08-201-3/+3
| | | | | | | | | | | | The RPM BuildHost tag may be of use in identifying 3rd party packages present on a system. Based on a patch from Chandan Kumar. Fixes #368. Signed-off-by:Chandan Kumar chkumar@redhat.com Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [juju] Adds 'juju get' output, exposes export-mongodbJorge Niedbalski R2014-08-192-1/+54
| | | | | | | | | | This commit extends the plugin to include the resulting 'juju get ${service}' for each deployed service, also it exposes the export-mongodb option, which includes on the report a json file containing each data collection used by juju-core. Signed-off-by: Jorge Niedbalski R <niedbalski@gmail.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [python] add package check and make portableBryn M. Reeves2014-08-191-2/+6
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [python] new plugin for python runtimepoornimakshirsagar2014-08-191-0/+27
| | | | | | | | | Python runtime details are required for developers for various diagnostic and development purposes. Collect the Python version of the 'python' executable. Signed-off-by: Poornima M. Kshirsagar <pkshiras@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [fcoe] Add plugin to get information about FCoE.Jose Castillo2014-08-181-0/+38
| | | | | | | | | | | | | | | | | This plugin gets the configuration files present in the directory /etc/fcoe and the output of two commands: - 'fcoeadmin -i' shows information about all FCoE instances, and - 'fcoeadmin -s' shows information about all discovered Fibre Channel Forwarders (FCFs). Attempts to fix issue #369 Version 2: Added a line to check if the package fcoe-utils is installed as suggested by Adam Stokes. Signed-off-by: Jose Castillo <jcastillo@redhat.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [lvm2] Add pe_start to the output of 'pvs'Jose Castillo2014-08-151-0/+1
| | | | | | | | | This patch adds the column pe_start (alignment offset) to the output of the 'pvs' command in the lvm2 plugin. Solves #331 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [ovirt] add rhevm packagesBryn M. Reeves2014-08-121-1/+5
| | | | | | | | | Downstream packages for ovirt have branding patches renaming them with rhevm prefix instead of ovirt-engine. Signed-off-by: Sandro Bonazzola <sbonazzo redhat com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [activemq] inherit from base class properlyAdam Stokes2014-08-121-1/+1
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [docker] capture logs of running containers, add ubuntu supportAdam Stokes2014-08-111-7/+40
| | | | | | | | | Query `docker ps` and capture log output from current running containers. Additionally, add support for Ubuntu systems and address a nuance where Ubuntu systems use a different binary name for docker since a previous package already owns the docker binary name. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [plugin] make Plugin logging methods privateBryn M. Reeves2014-08-099-58/+58
| | | | | | Related: #348. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [selinux,auditd] move ausearch collection to auditd pluginBryn M. Reeves2014-08-082-1/+1
| | | | | | Fixes #310. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sosreport] remove duplicate import for 'traceback' moduleBryn M. Reeves2014-08-081-1/+0
| | | | | | Fixes #359. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [utilities] remove unused importsBryn M. Reeves2014-08-081-2/+0
| | | | | | Fixes #358. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [distupgrade,openshift] fix regex substitution API usageBryn M. Reeves2014-08-082-11/+11
| | | | | | These two were using the legacy (sos-2.x) methods names. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [pam] add faillock and pam_tally2 outputBryn M. Reeves2014-08-081-1/+5
| | | | | | Fixes #351. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] fix policy section headingsBryn M. Reeves2014-08-071-3/+3
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] add policies api referenceAdam Stokes2014-08-072-0/+9
| | | | | | | Include the base policy plugin reference in the auto-generated documentation. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [Makefile] makefile tasks to work with python2 and 3Adam Stokes2014-08-073-6/+6
| | | | | | | Fixed some of the inline python statements to support makefile rules in both python2 and python3 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [archive] log add_string exceptionAdam Stokes2014-08-071-2/+3
| | | | | | | | | | | Log any permission related exceptions when running plugins as non-root. Eventually this information can be reviewed to see the impact of running plugins as non-root users to better decide where root is needed on a per plugin basis. References #164 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [activemq] add Ubuntu supportAdam Stokes2014-08-071-1/+13
| | | | | | | | These files are provided by default with an Ubuntu ActiveMq installation. Fixes: GH#271 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [general] Move Red Hat specifics to RedHatGeneralBryn M. Reeves2014-08-051-2/+2
| | | | | | Fixes: #69. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [general] remove /etc/exportsBryn M. Reeves2014-08-051-1/+0
| | | | | | | | Belongs to NFSServer. Related: #69. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [general,upstart] move upstart specifics to Upstart pluginBryn M. Reeves2014-08-052-3/+2
| | | | | | Related: #69. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [startup] add /etc/inittab and move rc.d from RedHat to StartupBryn M. Reeves2014-08-051-1/+4
| | | | | | Related: #69. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [general] remove duplicate /etc/init collectionBryn M. Reeves2014-08-051-1/+0
| | | | | | | | Already handled by the upstart plugin. Related: #69. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [lvm2] Extend reporting fields for pvs, vgs and lvs.Jose Castillo2014-08-041-3/+8
| | | | | | | | | | | | | | | There were some useful columns missing from the output of the commands 'pvs', 'vgs' and 'lvs' that we gather in the lvm plugin. This patch extends the reporting fields with: - Information about metadata, like copies and size of mda, to the output of the 'pvs' command. - Information about metadata and tags for the output of the 'vgs' command, and - information about tags for the output of 'lvs'. Attempts to solve at least partially issue #331. Signed-off-by: Jose Castillo <jcastillo@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com> (Minor pep8 fixups.)
* [docs] sync README.md and index.rstBryn M. Reeves2014-08-032-5/+13
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] improve index formattingBryn M. Reeves2014-08-031-1/+2
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] Fix Read the Docs URL in README.mdBryn M. Reeves2014-08-021-1/+1
| | | | | | | http://readthedocs.org does not respond - the correct host is www.readthedocs.org. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [docs] update README.md to point to sos.readthedocs.orgBryn M. Reeves2014-08-021-1/+11
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [travis-ci] run pep8 against code treeAdam Stokes2014-08-021-1/+2
| | | | | | | | To ensure proper code formatting and syntax is being done this enables travis-ci to continually check pep8 compliance. This is useful as it will tend to spot a lot of syntax errors that the unittests may not pick up. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [policies] pep8 complianceAdam Stokes2014-08-025-57/+76
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>