aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix installed-rpms commandBryn M. Reeves2012-11-301-1/+6
| | | | | | | Fix the formatting of rpm -q output to ensure that long package do not overflow into the following column and quote tilde chars passed to the shell to prevent user home directory expansion side-effects.
* Collect /proc/irq in hardware moduleBryn M. Reeves2012-11-301-0/+1
|
* Collect stderr output from external commandsBryn M. Reeves2012-11-301-2/+2
|
* Fix satellite and proxy package detection in rhn pluginBryn M. Reeves2012-11-301-4/+4
|
* Fix symlink directory check and tidy up copy_symlink()Bryn M. Reeves2012-11-301-24/+21
| | | | | Fix the check on symlinks pointing to a directory (it needs to use an absolute path) and simplify the function and variable names.
* Fix symlink handling in doCopyFileOrDir()Bryn M. Reeves2012-11-301-15/+34
| | | | | | | | | | | | | | | | | | Symlinks need special treatment when we're copying them into the report. The target path stored in the report must always be relative but we need to pass an absolute path for the target to the recursive doCopyFileOrDir() call that picks up the target for us. There are further problems with the current code but these cannot be fixed trivially: symbolic links to directories are currently ignored but are fundamental to the layout of file systems like sys (and to a lesser extent proc). Supporting this properly requires an algorithm that can cope with arbitrary symlink loops in the tree being copied and that correctly copies-in any links that may point outside of the tree currently being copied. See Issues #71, #72 for more details.
* Add cpu power information to hardware moduleBryn M. Reeves2012-11-291-0/+6
| | | | Collect cpupower or cpufreq-info information if either is installed.
* Fix collection of /proc/net in networking moduleBryn M. Reeves2012-11-291-1/+1
|
* Collect /etc/fence_virt.conf in cluster moduleBryn M. Reeves2012-11-291-0/+1
|
* Don't collect subscription manager keys in yum module (CVE-2011-4083)Bryn M. Reeves2012-11-291-0/+1
|
* Fix hardware module to handle multiple lsusb pathsBryn M. Reeves2012-11-291-3/+9
| | | | | The usbutils package moved lsusb from /usr/sbin to /usr/bin. Allow the module to work with either.
* Collect brctl show and showstp outputBryn M. Reeves2012-11-291-0/+23
|
* Collect rhsm configuration in yum moduleBryn M. Reeves2012-11-291-1/+2
|
* Fix whitespace in jboss moduleBryn M. Reeves2012-11-291-3/+3
|
* Add package check to postgresql moduleBryn M. Reeves2012-11-291-0/+4
| | | | | | Add a packages list to the postgresql module to prevent it trying to run on systems where the package is not installed and set the tmp_dir variable to None.
* Add a checkenabled() to jboss moduleBryn M. Reeves2012-11-291-0/+5
| | | | | | The jboss module's postproc() method assumes the module is enabled and throws exceptions if __jbosshome is unset. Add a checkenabled() method to prevent the module running when this path cannot be found.
* Fix addCopySpecLimit when no path matches fname globBryn M. Reeves2012-11-291-0/+2
| | | | | | If addCopySpecLimit is passed a glob that matches no files it will throw an exception since it assumes that files[0] is valid. Check as soon as the file list is created and return if it is empty.
* Fix exception in hardware plugin on recent Red Hat systemsBryn M. Reeves2012-11-291-1/+4
| | | | | | The up2date client hardware.py script is obsolete on recent Red Hat distributions. Don't throw an exception if it does not exist.
* Fix typo in cgroups module and set plugin_nameBryn M. Reeves2012-11-291-1/+3
| | | | | Fix a typo in the plugin class import statement and set the base class's plugin_name.
* Fix RPM buildsBryn M. Reeves2012-11-291-1/+1
| | | | | Make sos.spec %doc match current reality. # Please enter the commit message for your changes. Lines starting
* Add basic cgroups moduleBryn M. Reeves2012-11-291-0/+39
| | | | | | | | Add a module to collect cgroups information. The file /proc/cgroups and directory tree mounted at /sys/fs/cgroup is collected on all supported platforms when the procfs file is present. Additional configuration files specific to Red Hat distributions are also collected.
* Collect ipv6 neighbour table in network moduleBryn M. Reeves2012-11-291-0/+1
|
* Don't strip whitespace from output of external programsBryn M. Reeves2012-11-291-1/+1
|
* Add /proc/vmmemctl collection to vmware pluginBryn M. Reeves2012-11-291-2/+4
|
* Fix collection of data from LVM2 tools in devicemapper pluginBryn M. Reeves2012-11-291-6/+6
| | | | | | The LVM2 binaries have moved between /usr/sbin (RHEL5) and /sbin (RHEL6). Although current Fedora has them hard-linked to both /sbin is the safest option for current systems.
* Extend data collection in qpidd pluginBryn M. Reeves2012-11-291-3/+13
|
* Tidy up lsusb collection and add -t optionBryn M. Reeves2012-11-291-2/+4
| | | | | Split lsusb back out into separate files and also collect lsusb -t output.
* Collect nslcd.conf in ldap moduleBryn M. Reeves2012-11-291-2/+3
|
* Add basic Infiniband pluginBryn M. Reeves2012-11-291-0/+32
|
* Fix yum optionList and collect repolist by defaultBryn M. Reeves2012-11-291-4/+5
| | | | | Fix double-assign bug in yum's optionList and enable repolist collection by default.
* Remove stray debug code in filesys moduleBryn M. Reeves2012-11-291-2/+1
|
* Add collection of lsblk to filesys moduleBryn M. Reeves2012-11-291-0/+1
| | | | Call lsblk to collect a list of block devices in a tree-like format.
* Fix collection of chkconfig output in startup moduleBryn M. Reeves2012-11-291-1/+1
| | | | Remove "LC_ALL=C" from invocation ofchkconfig --list.
* Fix typo in yum moduleBryn M. Reeves2012-11-291-1/+1
| | | | s/entitlements/entitlement/ in candlepin paths
* Merge pull request #65 from jnpkrn/patchesBryn M. Reeves2012-11-271-8/+5
|\ | | | | Plugin class: comments cleanup
| * Plugin class: comments cleanupJan Pokorný2012-09-071-8/+5
| | | | | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* | Merge pull request #67 from edamato/masterBryn M. Reeves2012-11-271-0/+39
|\ \ | |/ |/| Add ceph module to sos
| * adding ceph pluginEduardo Damato2012-11-131-0/+39
|/
* Merge pull request #58 from jds2001/masterKeith Robertson2012-08-142-5/+17
|\ | | | | Changes to networking plugin to support biosdevname. ACK
| * Various bugfixes from previous commitJon Stanley2012-06-121-5/+6
| |
| * Add generated files to .gitignoreJon Stanley2012-06-121-0/+3
| |
| * Collect ring, coalesce, and pause attributes of interfaces.Jon Stanley2012-06-121-0/+3
| | | | | | | | | | | | These are very useful items to have in general in order to see the configuration of systems. They are performance impacting parameters.
| * Change get_interface_name to support arbitrarily named interfacesJon Stanley2012-06-121-5/+10
| | | | | | | | | | | | Due to support for biosdevname, we now have to look at interface types rather than names in order to determine whether an interface is interesting for this plugin.
| * Use 'ip -o addr' instead of ifconfig for parseable outputJon Stanley2012-06-121-1/+1
| | | | | | | | | | | | The 'ifconfig' command is deprecated, and the 'ip' command should be used instead for multiple reasons. This is also a more easily parseable format.
* | Merge pull request #63 from galstrom21/masterJesse Jaggars2012-08-131-1/+128
|\ \ | | | | | | Extending openstack plugin
| * | adding back removed copyright linegalstrom212012-08-121-0/+3
| | |
| * | fixing pep8 violations in additional codegalstrom212012-07-111-9/+30
| | |
| * | merging upstream/mastergalstrom212012-07-104-4/+4
| |\ \ | |/ / |/| |
* | | Merge pull request #61 from gkotton/openstackJesse Jaggars2012-07-032-0/+61
|\ \ \ | |_|/ |/| | Support for openstack.
| * | Support for openstack.Gary Kotton2012-07-022-0/+61
|/ / | | | | | | | | | | Added the plugin openstack.py Added support for new plugin base class