Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add implementation of command output post-processing | Bryn M. Reeves | 2012-12-05 | 2 | -1/+31 |
| | | | | | | Add a doRegexExtOutputSub() function to mirror doRegExSub(). This allows modukes ti apply an arbitrary regular expression substitution to the output collected from external commands. | ||||
* | Add fence_virt.conf and corosync command outputs to cluster | Bryn M. Reeves | 2012-12-05 | 1 | -0/+5 |
| | | | | Update cluster module to match current rhel-6 | ||||
* | Add missing import statement to libvirt module | Bryn M. Reeves | 2012-12-05 | 1 | -0/+1 |
| | |||||
* | Obscure display passwords in collected libvirt/qemu files | Bryn M. Reeves | 2012-12-05 | 1 | -0/+6 |
| | |||||
* | Remove duplicate gluster module | Bryn M. Reeves | 2012-12-05 | 1 | -26/+0 |
| | | | | | Remove duplicate gluster module accidentally committed while forward porting the current rhel-6 version. | ||||
* | Collect /proc/pagetypeinfo in memory module | Bryn M. Reeves | 2012-12-04 | 1 | -1/+2 |
| | |||||
* | Fix error logging when calling external programs | Bryn M. Reeves | 2012-12-04 | 1 | -0/+2 |
| | |||||
* | Avoid deprecated sysctls in /proc/sys/net | Bryn M. Reeves | 2012-12-04 | 1 | -0/+6 |
| | |||||
* | Collect /etc/multipath in device-mapper module | Bryn M. Reeves | 2012-12-04 | 1 | -0/+1 |
| | |||||
* | Obscure passwords in files collected from ipa module | Bryn M. Reeves | 2012-12-04 | 1 | -0/+6 |
| | |||||
* | Use a default report name if name is empty after sanitizing | Bryn M. Reeves | 2012-12-04 | 1 | -0/+3 |
| | |||||
* | Update IPA module and related plug-ins | Bryn M. Reeves | 2012-12-04 | 4 | -7/+91 |
| | |||||
* | Collect mcelog files in the hardware module | Bryn M. Reeves | 2012-12-04 | 1 | -1/+2 |
| | |||||
* | Use wildcard to match possible libvirt log paths | Bryn M. Reeves | 2012-12-04 | 1 | -1/+1 |
| | |||||
* | Update gluster module to match current rhel-6 | Bryn M. Reeves | 2012-12-04 | 1 | -3/+97 |
| | |||||
* | Update cloudforms module to match current rhel-6 | Bryn M. Reeves | 2012-12-04 | 1 | -5/+13 |
| | |||||
* | Clean up kernel_rt module | Bryn M. Reeves | 2012-12-04 | 2 | -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 LinuxPolicy | Bryn M. Reeves | 2012-12-04 | 1 | -4/+9 |
| | |||||
* | Fix verbose logging | Bryn M. Reeves | 2012-12-04 | 2 | -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_plugin | Bryn M. Reeves | 2012-12-04 | 1 | -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 collection | Bryn M. Reeves | 2012-12-04 | 1 | -0/+29 |
| | |||||
* | Add new sunrpc module to collect rpcinfo for gluster systems | Bryn M. Reeves | 2012-12-04 | 1 | -0/+30 |
| | |||||
* | Obscure root password if present in anacond-ks.cfg | Bryn M. Reeves | 2012-12-04 | 1 | -0/+5 |
| | |||||
* | Use correct paths for tomcat6 in RHN module | Bryn M. Reeves | 2012-12-04 | 1 | -5/+2 |
| | |||||
* | Shorten long lines in general module | Bryn M. Reeves | 2012-12-04 | 1 | -3/+5 |
| | |||||
* | Collect non-standard syslog and rsyslog log files | Bryn M. Reeves | 2012-12-04 | 1 | -5/+13 |
| | |||||
* | Add symbolic links for truncated log files | Bryn M. Reeves | 2012-12-04 | 1 | -3/+6 |
| | |||||
* | Fix installed-rpms command | Bryn M. Reeves | 2012-11-30 | 1 | -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 module | Bryn M. Reeves | 2012-11-30 | 1 | -0/+1 |
| | |||||
* | Collect stderr output from external commands | Bryn M. Reeves | 2012-11-30 | 1 | -2/+2 |
| | |||||
* | Fix satellite and proxy package detection in rhn plugin | Bryn M. Reeves | 2012-11-30 | 1 | -4/+4 |
| | |||||
* | Fix symlink directory check and tidy up copy_symlink() | Bryn M. Reeves | 2012-11-30 | 1 | -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. Reeves | 2012-11-30 | 1 | -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 module | Bryn M. Reeves | 2012-11-29 | 1 | -0/+6 |
| | | | | Collect cpupower or cpufreq-info information if either is installed. | ||||
* | Fix collection of /proc/net in networking module | Bryn M. Reeves | 2012-11-29 | 1 | -1/+1 |
| | |||||
* | Collect /etc/fence_virt.conf in cluster module | Bryn M. Reeves | 2012-11-29 | 1 | -0/+1 |
| | |||||
* | Don't collect subscription manager keys in yum module (CVE-2011-4083) | Bryn M. Reeves | 2012-11-29 | 1 | -0/+1 |
| | |||||
* | Fix hardware module to handle multiple lsusb paths | Bryn M. Reeves | 2012-11-29 | 1 | -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 output | Bryn M. Reeves | 2012-11-29 | 1 | -0/+23 |
| | |||||
* | Collect rhsm configuration in yum module | Bryn M. Reeves | 2012-11-29 | 1 | -1/+2 |
| | |||||
* | Fix whitespace in jboss module | Bryn M. Reeves | 2012-11-29 | 1 | -3/+3 |
| | |||||
* | Add package check to postgresql module | Bryn M. Reeves | 2012-11-29 | 1 | -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 module | Bryn M. Reeves | 2012-11-29 | 1 | -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 glob | Bryn M. Reeves | 2012-11-29 | 1 | -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 systems | Bryn M. Reeves | 2012-11-29 | 1 | -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_name | Bryn M. Reeves | 2012-11-29 | 1 | -1/+3 |
| | | | | | Fix a typo in the plugin class import statement and set the base class's plugin_name. | ||||
* | Fix RPM builds | Bryn M. Reeves | 2012-11-29 | 1 | -1/+1 |
| | | | | | Make sos.spec %doc match current reality. # Please enter the commit message for your changes. Lines starting | ||||
* | Add basic cgroups module | Bryn M. Reeves | 2012-11-29 | 1 | -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 module | Bryn M. Reeves | 2012-11-29 | 1 | -0/+1 |
| | |||||
* | Don't strip whitespace from output of external programs | Bryn M. Reeves | 2012-11-29 | 1 | -1/+1 |
| |