aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* merged diagnostic informationastokes_rhn2007-08-021-0/+12
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@318 ef72aa8b-4018-0410-8976-d6e080ef94d8
* added changelog entries to spec fileshnavid2007-08-022-1/+1
| | | | | | | | raiseplugs = 0 oops in yum.py git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@309 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Merged navid-dev r306 into the trunkshnavid2007-08-0214-63/+93
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@307 ef72aa8b-4018-0410-8976-d6e080ef94d8
* removed autofs capture as its in its own plugin nowastokes_rhn2007-08-011-3/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@298 ef72aa8b-4018-0410-8976-d6e080ef94d8
* merging autofs plugin from stokes branchastokes_rhn2007-08-011-1/+67
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@297 ef72aa8b-4018-0410-8976-d6e080ef94d8
* merging autofs plugin from stokes branchastokes_rhn2007-08-011-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@296 ef72aa8b-4018-0410-8976-d6e080ef94d8
* updated system to exclude autofs informationastokes_rhn2007-08-011-2/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@295 ef72aa8b-4018-0410-8976-d6e080ef94d8
* some merges from trunk, updated autofs plugin to capture similar items from ↵astokes_rhn2007-08-011-3/+10
| | | | | | amd plugin and will do a simple check for global debugging and capture the needed log file for that as well. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@286 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Merged navid-dev r276 into the trunkshnavid2007-07-318-68/+160
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@278 ef72aa8b-4018-0410-8976-d6e080ef94d8
* collect IPC status - sysreport captured thisdrobinso2007-07-311-0/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@274 ef72aa8b-4018-0410-8976-d6e080ef94d8
* find the current and previous system runleveldrobinso2007-07-311-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@273 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Collect a list of the contents of /bootdrobinso2007-07-311-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@272 ef72aa8b-4018-0410-8976-d6e080ef94d8
* merged navid-devel branch r248shnavid2007-07-299-163/+317
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@255 ef72aa8b-4018-0410-8976-d6e080ef94d8
* typo (fedora-release instead of redhat-release used for testing)shnavid2007-07-291-2/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@248 ef72aa8b-4018-0410-8976-d6e080ef94d8
* added checkenabled() method to many pluginsshnavid2007-07-279-18/+84
| | | | | | | bumped release to 2 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@229 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added checkenabled() to cluster plugin (only enable if RHCS/GFS related ↵shnavid2007-07-181-1/+18
| | | | | | data is present) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@221 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * thread count semaphore was not passed to threadshnavid2007-07-181-3/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@220 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * catch KeyboardInterrupt when entering sosreport nameshnavid2007-07-181-3/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@219 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * initial diagnose() support for cluster pluginshnavid2007-07-181-1/+25
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@218 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * removed 2>&1 which is default nowshnavid2007-07-181-2/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@217 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added preliminary problem diagnosis supportshnavid2007-07-181-14/+59
| | | | | | | | | | | | | * fixed indentation * better i18n initialization * better user messages * more progressbar fixes * catch and log python exceptions in report * use python native commands to create symlinks * limit concurrent running threads git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@216 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * removed 2>&1 (it is the default now)shnavid2007-07-181-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@215 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * disable sysrq by defaultshnavid2007-07-181-2/+2
| | | | | | | * create symlink for dmidecode git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@214 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * fixed typoshnavid2007-07-181-3/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@213 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added three helpers: pkgDictByName() runlevelByService() and runlevelDefault()shnavid2007-07-181-1/+23
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@212 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * created satellite plugin from satellite-debug.shshnavid2007-07-181-0/+53
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@210 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * 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