aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* * added --enableplugin (-e) option to enable plugins which were inactiveshnavid2007-07-101-6/+13
| | | | | | | | | * cleaned up plugin activation conditions * added ability to suggest a name for output file in sos_report instead of auto-generated from command-line * added root_symlink option to create a symbolic link in sos_report root (and mimic sysreport's structure) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@187 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added initrd plugin from Chris Evich <cevich@redhat.com>shnavid2007-07-101-0/+28
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@186 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * typo.shnavid2007-07-101-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@185 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * plugin.defaultenabled() decides whether a plugin will be automatically ↵shnavid2007-07-101-0/+5
| | | | | | loaded or only if specified in -o. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@183 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * Fixed a small typoshnavid2007-06-151-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@146 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * Initial commit of XML reporting to gather details about commands executed ↵shnavid2007-06-153-6/+20
| | | | | | and files gathered. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@144 ef72aa8b-4018-0410-8976-d6e080ef94d8
* 2007-06-15 Eugene Teo <eteo@redhat.com>eugeneteo2007-06-159-0/+113
| | | | | | | | | | | | | | | | | | * lib/sos/plugins/apache.py, lib/sos/plugins/nfsserver.py, lib/sos/plugins/selinux.py, lib/sos/plugins/xinetd.py, lib/sos/plugins/ssh.py, lib/sos/plugins/sendmail.py, lib/sos/plugins/samba.py, lib/sos/plugins/named.py, lib/sos/plugins/cluster.py: - Edited apache.py to gather /var/log/httpd/* log files - Added nfsserver.py to gather NFS server-related debugging information - Edited selinux.py to gather /etc/selinux/* configuration files - Added xinetd.py to gather xinetd-related information - Added ssh.py to gather ssh-related information - Added sendmail.py to gather sendmail information - Edited samba.py to gather /var/log/samba/* log files - Edited named.py to gather /etc/sysconfig/named - Edited cluster.py to gather the output of fdisk -l to show the shared storage devices that should be available to each system git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@141 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added systemtap.py to gather SystemTap pre-requisites informationeugeneteo2007-05-281-0/+29
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@140 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added amd.py to gather Amd automounter informationeugeneteo2007-05-281-0/+31
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@139 ef72aa8b-4018-0410-8976-d6e080ef94d8
* 2007-05-25 Eugene Teo <eteo@redhat.com>eugeneteo2007-05-283-0/+11
| | | | | | | | | | | | | * lib/sos/plugins/xen.py, lib/sos/plugins/pam.py, lib/sos/plugins/memory.py: - Edited xen.py to determine if CPU has PAE/Intel VT/AMD-V support - Edited pam.py to gather configurations in /etc/security, and files listing of /lib/security/pam_*so - Edited memory.py to gather /proc/{vmstat,slabinfo}, and free -m output git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@138 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed a backtrace due to bad handling of nonexistent file in kernel plugin, ↵sconklin2007-05-251-1/+3
| | | | | | and some minor typos, bumped release number git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@135 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Forced the file generated by traceroute to not end in .comsconklin2007-04-241-1/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@129 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added optional traceroute collection to networking pluginsconklin2007-04-241-2/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@127 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added clalance's patch to gather iptables info.sconklin2007-04-241-6/+20
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@126 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Running "multipath" without arguments might change the device-mapper maps, ↵shnavid2007-04-231-2/+1
| | | | | | which we want to avoid if things are broken. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@125 ef72aa8b-4018-0410-8976-d6e080ef94d8
* More logging typos fixed.shnavid2007-04-181-4/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@122 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Import logging module to make sure we have access to logging.*shnavid2007-04-181-12/+34
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@121 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed typo in new logging.shnavid2007-04-181-4/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@120 ef72aa8b-4018-0410-8976-d6e080ef94d8
* adding bridging info for xen modulepamadio2007-04-151-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@114 ef72aa8b-4018-0410-8976-d6e080ef94d8
* No need to be that verbose, some commands will often fail. Downgrading ↵shnavid2007-04-051-2/+2
| | | | | | message to "verbose" (visible with -v and up) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@112 ef72aa8b-4018-0410-8976-d6e080ef94d8
* rpm -Va should be enabled by default (BZ#234873)shnavid2007-04-051-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@111 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Replaced xen plugin with (better) version from Chris Lalancette ↵shnavid2007-04-021-8/+48
| | | | | | <clalance@redhat.com> git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@110 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added a checkenabled() function which can be used to disable a plugin at ↵shnavid2007-03-291-0/+6
| | | | | | | | | run-time. Planning to add a command-line option to force the execution of plugins. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@105 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Better logging using python's logging module.shnavid2007-03-271-24/+16
| | | | | | | Verbose logs included in sosreport (sos_logs/sos.log) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@104 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Beautified console output.shnavid2007-03-271-2/+8
| | | | | | | Added a random suffix to sosreport tree to avoid overwriting an existing tree with same name. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@103 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed hardware plugin to use modules.pcimap instead of deprecated pcitable.shnavid2007-03-271-4/+7
| | | | | | | However, this collection doesn't make much sense to me so we need to clarify what its purpose is. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@102 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Forgot to remove a debugging statementshnavid2007-03-151-1/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@100 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added check to see if the loaded module matches the copy on the file-systemshnavid2007-03-151-0/+19
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@99 ef72aa8b-4018-0410-8976-d6e080ef94d8
* initial Xen supportshnavid2007-03-151-0/+28
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@97 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Sorry, those ". . ." are way too ugly.shnavid2007-03-141-2/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@94 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed BZ#219669 (sosreport multi-threaded option sometimes fails)shnavid2007-03-141-1/+1
| | | | | | | copyStuff() doesn't take any argument git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@93 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added further commands' output to gather, taken from Alisdar's own LVM ↵shnavid2007-03-071-2/+9
| | | | | | | | | troubleshooting script (lvm_dump): http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/LVM2/scripts/lvm_dump.sh?cvsroot=lvm2 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@91 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added a specialized plugin for printing related configuration and log files ↵shnavid2007-02-212-1/+24
| | | | | | (CUPS) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@88 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed typo.shnavid2007-02-211-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@87 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added a specialized plugin for device-mapper related configuration files and ↵shnavid2007-02-202-1/+32
| | | | | | command outputs (device-mapper, LVM and multipath) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@82 ef72aa8b-4018-0410-8976-d6e080ef94d8
* First stage interrupt / ^C handlingjwbernin2007-02-171-3/+36
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@78 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Collect parsed configuration tree directly from ccsd (useful for ↵shnavid2007-02-161-0/+5
| | | | | | | | | troubleshooting parsing issues) Scamble password information for fencing devices. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@77 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Strip out the shared secret (bindpw) from /etc/ldap.confshnavid2007-02-161-0/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@74 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Basic KeyboardInterrupt / SIGTERM handling, still needs more developmentjwbernin2007-01-291-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@71 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added radius plugin for freeradius data collectionshnavid2007-01-261-0/+29
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@69 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added doRegexSub() to be called in postproc() to apply a regexp substitution ↵shnavid2007-01-262-1/+27
| | | | | | to a file which has been collected by sos. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@68 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Keep asking full name until one is given to prevent errors when moving the ↵shnavid2007-01-261-3/+8
| | | | | | | | | sos tree before packaging. Reformat tar file name is no ticket number is given. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@67 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Removed meaningless error when target of a symlink had already been copied ↵sconklin2006-12-151-5/+6
| | | | | | to the destination tree git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@63 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Removed spurious messages, fixed file permissions to improve security,sconklin2006-12-153-56/+58
| | | | | | | | moved tar generation into policy module, delete tree in /tmp when done, and added option -g to only gather info and not create tarball git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@58 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Preserve timestamp, permissions, and ownership of copied filesjwbernin2006-11-241-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@56 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Starting to revamp how we send data up to make it more modular and isolate ↵jwbernin2006-10-181-0/+0
| | | | | | it from data collection. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@55 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Updating netstat commandjwbernin2006-10-161-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@54 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Adding netstat collection to networking modulejwbernin2006-10-111-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@53 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added alerts for tainted kernel and some well-known tainting modules.sconklin2006-09-072-5/+55
| | | | | | | Moved verbosity from a parameter to the global info list. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@52 ef72aa8b-4018-0410-8976-d6e080ef94d8
* lint removalsconklin2006-08-162-57/+99
| | | | | | | only wait for threads if we're running threaded git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@42 ef72aa8b-4018-0410-8976-d6e080ef94d8