aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update cloudforms module to match current rhel-6Bryn M. Reeves2012-12-041-5/+13
|
* Clean up kernel_rt moduleBryn M. Reeves2012-12-042-5/+5
| | | | | Rename the realtime kernel module to "kernelrt" and move non-realtime specific information to more appropriate modules.
* Improve sanitization of user and case number in LinuxPolicyBryn M. Reeves2012-12-041-4/+9
|
* Fix verbose loggingBryn M. Reeves2012-12-042-2/+7
| | | | | Propagate soslog and proflog objects to plugins properly and ensure debug logging makes it to sos.log when verbose mode is enabled.
* Don't handle plugin exceptions in import_pluginBryn M. Reeves2012-12-041-7/+4
| | | | | | Don't catch exceptions thrown during plugin import from import_plugin itself. The main load_plugins in sosreport.py already handles exception logging and trapping them here loses useful information.
* Add basic support for CloudForms data collectionBryn M. Reeves2012-12-041-0/+29
|
* Add new sunrpc module to collect rpcinfo for gluster systemsBryn M. Reeves2012-12-041-0/+30
|
* Obscure root password if present in anacond-ks.cfgBryn M. Reeves2012-12-041-0/+5
|
* Use correct paths for tomcat6 in RHN moduleBryn M. Reeves2012-12-041-5/+2
|
* Shorten long lines in general moduleBryn M. Reeves2012-12-041-3/+5
|
* Collect non-standard syslog and rsyslog log filesBryn M. Reeves2012-12-041-5/+13
|
* Add symbolic links for truncated log filesBryn M. Reeves2012-12-041-3/+6
|
* 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
|/