aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* * initial language localization supportshnavid2007-07-141-12/+14
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@204 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * resized progressbar to 40 charsshnavid2007-07-132-7/+12
| | | | | | | | | * progressbar fixes * increased logging for threading * improved command output filename mangling git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@201 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * fixed doExitCode() calling thread.wait() instead of join()shnavid2007-07-1338-104/+83
| | | | | | | | | | | | | | * curses menu is disabled by default * multithreading is enabled by default * major progressbar changes (now has ETA) * multithreading fixes * plugins class descriptions shortened to fix better in --list-plugins * rpm -Va in plugins/rpm.py sets eta_weight to 200 (plugin 200 longer than other plugins, for ETA calculation) * applied patch in BZ#241071 from Karl Abbott <kabbott@redhat.com> to speed up command output collection * beautified command output filenames in makeCommandFilename() git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@200 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added yum pluginshnavid2007-07-131-0/+37
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@199 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added addCopySpecLimit() which copies files up to a max size limitshnavid2007-07-121-1/+20
| | | | | | | * make output filenames more readable git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@198 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * split up command outputs in sub-directories (sos_command/plugin/command ↵shnavid2007-07-121-1/+7
| | | | | | instead of sos_command/plugin.command) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@196 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * bumped version to 1.7r1.7shnavid2007-07-123-33/+34
| | | | | | | | | | | | | | | | | | * curses menu disabled by default (enable with -c) * sosreport output friendlier to the user (and similar to sysreport) * smarter plugin listing which also shows options and disable/enabled plugins * require root permissions only for actual sosreport generation * fix in -k where option value was treated as string instead of int * made progressbar wider (60 chars) * selinux plugin is enabled only if selinux is also enabled on the system * made some errors less verbose to the user * made sosreport not copy files pointed by symbolic links (same as sysreport, we don't need /usr/bin/X or /sbin/ifup) * copy links as links (cp -P) * added plugin get_description() that returns a short decription for the plugin * guess sosreport name from system's name git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@195 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * cmdline executable needs to be absoluteshnavid2007-07-111-6/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@194 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * updated plugins to use new root_symlink parameter (which mimics sysreport ↵shnavid2007-07-1014-24/+36
| | | | | | structure using symlinks) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@188 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * 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