aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [logs] add to storage profilemulhern2015-07-021-1/+1
| | | | Signed-off-by: mulhern <amulhern@redhat.com>
* [general] verify --profile contains valid plugins onlyBryn M. Reeves2015-07-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | | If --profile contains an invalid profile name, stop, and print the list of available profiles as well as the offending profile name (helpful when multiple profiles have been specified). E.g.: sosreport (version 3.2) Unknown or inactive profile(s) provided: virtuous The following profiles are available: boot boot, startup, systemd, udev cluster [...] Based on a patch from Pavel Moravec. Fixes #505. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sapnw] add sybase ASE collectionLuca Miccini2015-06-301-0/+5
| | | | | Signed-off-by: Luca Miccini <luca.miccini@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sapnw] add 'sapnw' as member of the 'sap' profileLuca Miccini2015-06-301-33/+41
| | | | | Signed-off-by: Luca Miccini <luca.miccini@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sapnw] add SAP NetWeaver pluginLuca Miccini2015-06-301-0/+131
| | | | | | | Closes #516. Signed-off-by: Luca Miccini <luca.miccini@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [vhostmd] enumerate disks via /sys/block instead of "lsblk -d"Bryn M. Reeves2015-06-301-3/+6
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [vhostmd] add plugin to the system and virt profilesBryn M. Reeves2015-06-301-1/+1
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [vhostmd] add new pluginLuca Miccini2015-06-301-0/+52
| | | | | | | | | | Add a plugin for the Virtual Host Metrics Daemon (vhostmd) to collect VM performance metrics from the system. Fixes #527. Signed-off-by: Luca Miccini <luca.miccini@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [saphana] add SAP HANA pluginLuca Miccini2015-06-301-0/+84
| | | | | | | | Add a plugin for the SAP HANA component and add it to a new 'sap' profile. Signed-off-by: Luca Miccini <luca.miccini@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [virsh] make dumpxml calls read-only and set timeout=180Pavel Moravec2015-06-301-1/+2
| | | | | | | | | Call virsh dumpxml in read-only mode to bypass authentication and extend the command timeout to 180s. Resolves #544 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [libvirt] add listing of /var/lib/libvirt/qemuBryn M. Reeves2015-06-301-0/+2
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [virsh] add new pluginPavel Moravec2015-06-301-0/+46
| | | | | | | | | | Move the virsh commands and virt-manager logs into new plugin (corresponding to the 'libvirt-client' package on Red Hat distros). Resolves #544 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [chrony] add chrony pluginJustin Stephenson2015-06-291-0/+40
| | | | | | | | Resolves #539 Signed-off-by: Justin Stephenson <jstephen@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [hpasm] hpasmcli commands hang under timeoutPavel Moravec2015-06-251-1/+1
| | | | | | | | | | | | | | When hpasmcli is run in a python Popen or system pipeline via the timeout command it hangs indefinitely. Work around this temporarily by disabling the use of the timeout program (by passing a zero timeout value) when running this command. Fixes: #559 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [yum] split out subscription-manager into its own pluginPavel Moravec2015-06-252-15/+51
| | | | | | | | | | subscription-manager and rhsm* stuff separated from yum plugin into a new one (subscription-manager). Resolves #451 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [puppet] adding new plugin for puppetShane Bradley2015-06-251-0/+43
| | | | | | | | | Added a new plugin to collect files for puppet. Fixes: #473. Signed-off-by: Shane Bradley <sbradley@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sosreport] fix command-line report defaultsBryn M. Reeves2015-06-221-1/+1
| | | | | | | | | | | | | | Defaults for sos options are currently set in two places: the option class itself (used for both API and command line uses), and in the option parser object created to parse command lines. When commit cbd75cb changed report generation to default-enabled the change was only made to the SoSOptions variable; the parser call still passed default=False (the option was renamed from --report to --no-report but without changing the sense of the default itself). Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [block] add 'blockdev --report'Bryn M. Reeves2015-06-191-0/+1
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [networking] improve readability of nmcli handlingBryn M. Reeves2015-06-181-13/+28
| | | | | | | | | | | | | In order to cope with multiple versions of NetworkManager with incompatible command-line syntax the NM portions of networking's setup() method had become a bit difficult to follow. Hide as much of the version mess as possible behind a local test_nm_status() function that handles all the known versions and use template variables where common command-line text exists between the versions. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [networking] nmcli status is obtained from the outputShane Bradley2015-06-181-4/+10
| | | | | | | | The nmcli status would always return 0, nmcli status is now determined by the output of the command instead of the return code. Signed-off-by: Shane Bradley <sbradley@redhat.com>
* [openstack_sahara] redact secrets from sahara configurationRohan Kanade2015-06-151-0/+11
| | | | Signed-off-by: Rohan Kanade <rkanade@redhat.com>
* [openstack_glance] ensure class naming is consistentBryn M. Reeves2015-06-101-2/+2
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [openstack_heat] ensure class naming is consistentBryn M. Reeves2015-06-101-2/+2
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [openstack_heat] fix plugin class importsBryn M. Reeves2015-06-101-6/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [openstack_glance] fix plugin class importsBryn M. Reeves2015-06-101-6/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [openstack_sahara] add new pluginPoornima2015-06-081-0/+63
| | | | | | | | | Capture configuration and log data for the OpenStack Sahara project (formerly Savanna). Sahara is a tool to simplify the deployment of data-intensive applications in OpenStack environments. Signed-off-by: Poornima M. Kshirsagar pkshiras@redhat.com Signed-off-by: Bryn M. Reeves bmr@redhat.com
* [yum] add output for yum historyAlexandru Juncu2015-06-021-0/+1
| | | | | | | | | | | Sometimes it is useful to see recent packet changes in the system. Yum history provides time information about actions like install, remove or update operations on system packages. Fixes #571. Signed-off-by: Alexandru Juncu <alexj@linux.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [AUTHORS] Add Coty Sutherland to contributor list.Adam Stokes2015-05-281-0/+1
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [apache] Added collection of conf.modules.d dir for httpd 2.4Coty Sutherland2015-05-281-1/+2
| | | | | Signed-off-by: Coty Sutherland <sutherland.coty@gmail.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [networking] Simplified the collecting of nmcli outputShane Bradley2015-05-211-24/+15
| | | | | | | Simplified the collecting of nmcli output and used same name for nmcli's objects when possible. Signed-off-by: Shane Bradley <sbradley@redhat.com>
* [networking] nmcli incompatiblity issuesShane Bradley2015-05-211-17/+49
| | | | | | | | | | There are some incompatible changes in nmcli since the release of NetworkManager >= 0.9.9. In addition, NetworkManager >= 0.9.9 will use the long names of "nmcli" objects. This is documented in the following article: https://wiki.gnome.org/Projects/NetworkManager/nmcli Signed-off-by: Shane Bradley <sbradley@redhat.com>
* [AUTHORS] Add HP Development CompanyAdam Stokes2015-05-151-1/+2
| | | | | | Update the AUTHORS file to include HP. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [ovirt] Collect engine tunables and domain information.Jake Hunsaker2015-05-151-0/+3
| | | | | | | | | | | | | Currently sos does not capture engine-config values or domain information. We should capture both of these as the tunables can help in troubleshooting. Similarly the domain information can help track AD/IPA issues. These can currently be dug out from the DB dump, however having them in a plaintext file makes checking these much faster and easier, and a DB is not always available. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [cluster] enable crm_report password scrubbingShane Bradley2015-05-111-3/+11
| | | | | | | | | | | | | | | | | | Default to specifying a password pattern of 'passw.*' when calling the crm_report script. This causes matching strings to be elided from the report data. Since this scrubbing can affect the use of pacemaker state machine snapshots for debugging the behaviour is controlled by a new option that defaults to enabled: cluster.crm_scrub This can be used to obtain an sosreport containing virgin crm_report data with no password scrubbing: # sosreport -k cluster.crm_scrub=False Signed-off-by: Shane Bradley <sbradley@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [libvirt] Collect XML files from /var/run/libvirtJake Hunsaker2015-05-101-6/+8
| | | | | | | | | oVirt and OpenStack drop XML files under /var/run/libvirt/ not /etc/libvirt. The libvirt plugin should collect the XML files dropped there as well, not just /etc/libvirt. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [openstack] New Openstack Trove (DBaaS) plugin.Lee Yarwood2015-05-101-0/+74
| | | | | | | https://wiki.openstack.org/wiki/Trove Signed-off-by: Lee Yarwood <lyarwood@redhat.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [systemd] Enable the plugin for Debian and UbuntuLouis Bouchard2015-05-101-2/+2
| | | | | Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [landscape] 15.01 moves logs files to landscape-serverBryan Quigley2015-05-051-1/+6
| | | | | | | | | | | Landscape Dedicated Server (LDS) 15.01 and newer logs are now located in /var/log/landscape-server. They were previously in only /var/log/landscape. Also limited to log_size now. Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [mysql] Collect log fileShane Bradley2015-04-271-0/+2
| | | | | | | | | | | | | | | When MariaDB is run under Pacemaker an OCF resource agent is used to start and stop the database. This configuration also overrides the log paths used for the database. In particular the mysqld.log is present at '/var/log/mysqld.log'. Collect both paths as we do not currently detect whether we are running with an OCF agent or stand-alone. Fixes: #554 Signed-off-by: Shane Bradley <sbradley@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [openshift] Obfuscate only DNS plugin credential valuestiwillia@redhat.com2015-04-171-3/+3
| | | | | | Obfuscate only the value, not the entire directive and value pair. Signed-off-by: Timothy Williams <tiwillia@redhat.com>
* [tuned] Collect additional configurations files and profiles.Shane Bradley2015-04-161-0/+4
| | | | | | Collect additional configurations files and profiles for tuned. Signed-off-by: Shane Bradley <sbradley@redhat.com>
* [openvswitch] Capture additional output for OVS bridges.Lee Yarwood2015-04-081-0/+8
| | | | | | | This includes `dump-flows` and `fdb/show` output useful for debugging Openstack tenant and L3 networking issues. Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
* [rabbitmq] Add list_policies output for the default virtual host.Lee Yarwood2015-04-081-0/+1
| | | | | | | | | | Useful for ensuring that highly available queues are enabled [1]. [1] https://www.rabbitmq.com/ha.html Resolves #541. Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
* [apparmor] Capture AppArmor profiles and statusBryan Quigley2015-04-011-1/+9
| | | | | | | | | | | | | | | | | Captures /etc/apparmor.d for profiles Excludes /cache - because it's not config. Excludes libvirt/libvirt because it can grow quite large and the TEMPLATE file should usually be enough. Excludes abstractions because they are usually not modified and are large. For both libvirt and abstractions capture an ls just to be sure permissions are correct. Captures apparmor_status to get the effective profiles. Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [unity] new plugin to collect unity-support-statusBryan Quigley2015-03-301-0/+33
| | | | | | | | This plugin is for Ubuntu's Unity DE and just collects 3d support information similar to a simplified glxinfo. Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [x11] Add xrandr and glxinfo outputBryan Quigley2015-03-301-0/+4
| | | | | | | | | | Adds xrandr --verbose Adds glxinfo output Closes: #482 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [satellite] remove explicit gathering of Tomcat infoPavel Moravec2015-03-272-4/+2
| | | | | | Resolves #413. Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [juju] add generate-bundle optionJorge Niedbalski2015-03-261-0/+7
| | | | | | | | Add a 'generate-bundle' switch to optionally collect a YAML bundle of the current environment using juju-deployerizer. Signed-off-by: Jorge Niedbalski <jnr@metaklass.org> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [logs] Remove passwords from rsyslogBryan Quigley2015-03-261-1/+12
| | | | | | | | | | | | | Specifically this removes passwords from the following patterns $ActionLibdbiPassword <removes rest of line> pwd=<removes rest of line> Closes #525 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* [openshift] Obfuscate DNS plugin credentialstiwillia@redhat.com2015-03-261-0/+15
| | | | | | DNS management plugins store credentials in their configuration files. Adding filters to scrub these configuration files. Signed-off-by: Timothy Williams <tiwillia@redhat.com>