aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove bogus path check in sar moduleBryn M. Reeves2013-04-181-9/+4
| | | | | | | | | | | | The sar module tries to check for the existence of a binary at some exact path. Since all call outs now go through PATH this no longer works leading to a bogus error level log message. Remove this check and also move the accompanying check on /var/lib/sa into a separate check_enabled method - without this path being present there is nothing for the plug-in to collect. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Fix auditd command line optionsBryn M. Reeves2013-04-181-1/+1
| | | | | | | | The refactoring in the previous merge commit introduced a bug in the option handling for the auditd plugin ('syslogsize' instead of 'logsize' when referencing the option in setup()). Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Merge branch 'new_ubuntu_plugin'Bryn M. Reeves2013-04-1823-95/+453
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sos/plugins/auditd.py sos/plugins/corosync.py sos/plugins/dovecot.py sos/plugins/general.py sos/plugins/ldap.py sos/plugins/lsbrelease.py sos/plugins/mysql.py sos/plugins/named.py sos/plugins/networking.py sos/plugins/nis.py sos/plugins/ntp.py sos/plugins/pam.py sos/plugins/postfix.py sos/plugins/pxe.py sos/plugins/samba.py sos/plugins/sendmail.py sos/plugins/snmp.py sos/plugins/startup.py sos/policies/debian.py Fixed up numerous bits of breakage due to the recent PATH changes in master and also refactored some of the newly ported plug-ins to reduce the amount of code duplication between distro versions of common plug-ins. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
| * fix typoLouis Bouchard2013-04-151-2/+2
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-3/+27
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-3/+19
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-2/+2
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-4/+26
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-2/+24
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-2/+23
| |
| * Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-151-4/+38
| |
| * Merge branch 'fix_packages_gh126' to stay current with upstreamLouis Bouchard2013-04-151-4/+4
| |\
| | * Fixes the packages() statement that was no working for Ubuntu/DebianLouis Bouchard2013-04-121-4/+4
| | |
| * | fix get_dns_dir which backtraces if regex is not foundLouis Bouchard2013-04-151-1/+4
| | |
| * | Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-123-8/+45
| | |
| * | Fix more reformat typosLouis Bouchard2013-04-122-4/+4
| | |
| * | Enabled plugin for Ubuntu/DebianLouis Bouchard2013-04-121-3/+23
| |/
| * Fix typo and new format missLouis Bouchard2013-04-111-2/+2
| |
| * Fix main class missing setupLouis Bouchard2013-04-111-0/+1
| |
| * Fix new format missesLouis Bouchard2013-04-112-3/+3
| |
| * Removed ufw bits which is now in networkingLouis Bouchard2013-04-051-2/+0
| |
| * Enabled new Debian plugins & adapted to new formatLouis Bouchard2013-04-051-2/+20
| |
| * Enabled new Debian plugins & adapted to new formatLouis Bouchard2013-04-051-5/+43
| |
| * Enabled new Debian plugins & adapted to new formatLouis Bouchard2013-04-051-2/+26
| |
| * Enabled new Debian plugins & adapted to new formatLouis Bouchard2013-04-056-13/+94
| |
| * More fixes for general.py specific to Ubuntu/DebianLouis Bouchard2013-04-051-2/+1
| |
| * Fix optionList anomalyLouis Bouchard2013-04-051-2/+2
| |
* | Merge branch 'pyflakes-remove-unused-imports'Bryn M. Reeves2013-04-1835-44/+6
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: sos/plugins/as7.py sos/plugins/jboss.py sos/plugins/soundcard.py
| * | Remove all unused imports in pluginsAdam Stokes2013-04-1437-49/+6
| | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* | | Merge branch 'shell-fix-debian-packaging'Bryn M. Reeves2013-04-169-46/+77
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: sos/plugins/hardware.py
| * | | Fix inconsistent use of tabs and spacesAdam Stokes2013-04-142-29/+29
| | | | | | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * | | Remove python-support, attempt to remove LICENSE after dh_auto_installAdam Stokes2013-04-116-23/+45
| | | | | | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * | | Debian packaging changes as a result from Debian ITPAdam Stokes2013-04-113-5/+14
| | | | | | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * | | Fix test for shell_outputAdam Stokes2013-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ENV['PATH'] is blank when running this test so we can not rely on cmd_env['PATH']. I dont know if PATH is supposed to be blank in this setup or not so we hardcode in a python executable. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* | | | Merge pull request #124 from arges/masterBryn M. Reeves2013-04-163-13/+62
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add Ubuntu/Debian support for Postgresql. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
| * | | | Enable soundcard plugin for Debian/Ubuntu.Chris J Arges2013-04-121-7/+28
| | | | |
| * | | | Add Ubuntu/Debian support for postgresql plugin.Chris J Arges2013-04-102-6/+34
| |/ / / | | | | | | | | | | | | Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
* | | | Merge pull request #128 from battlemidget/pyflakes-fixesBryn M. Reeves2013-04-169-20/+18
|\ \ \ \ | | | | | | | | | | Pyflakes fixes
| * | | | pyflakes resultsAdam Stokes2013-04-145-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sos/plugins/cgroups.py: - Fix call to non existent cgroups method sos/plugins/{dhcp,iscitarget}.py: - Fix class call names sos/plugins/process.py: - Remove random method calling nonexistent routines sos/plugins/selinux.py: - Fix call to do_regex_findall Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * | | | Fix imports in correct filesAdam Stokes2013-04-143-4/+6
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sos/archive.py: - Archive uses selinux module but wasn't included sos/policies/__init__: - sys.exit called without sys import Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
| * | | Small change to test_exe to point to /usr/bin/pythonAdam Stokes2013-04-111-1/+1
| |/ / | | | | | | | | | | | | | | | - Simple fix to make all unittests green Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* | | Remove jboss and as7 plug-ins and related infrastructureBryn M. Reeves2013-04-163-1102/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The JBoss and AS7 plug-ins are among the largest and most complex in the tree: 192 sos/plugins/openstack.py 218 sos/plugins/emc.py 253 sos/plugins/as7.py 713 sos/plugins/jboss.py 861 sos/plugins/__init__.py 6722 total They are not used in any products based on these projects at the current time and are not being maintained or developed for new versions. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* | | Remove obsolete ksyms check from kernel plug-inBryn M. Reeves2013-04-161-2/+0
| | | | | | | | | | | | | | | | | | | | | The ksyms program is a 2.4ism that has not existed on distros for years. Remove all reference to it from the kernel plug-in. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* | | Remove PATH workarounds from hardware plug-inBryn M. Reeves2013-04-161-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hardware plug-in contains code to check for the existence of binaries before running them. This won't work if plug-ins are providing non-absolute paths for executables and is redundant in any case since the shell-out wrappers already do this and log unavailable binaries. Also removes the workaround for lsusb changing path in recent versions. Signed-of-by: Bryn M. Reeves <bmr@redhat.com>
* | | Fixup PATH breakage in general plug-inBryn M. Reeves2013-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | PATH changes caused an incorrect '/usr/bin/java' -> '/usrjava' change in the general plug-in. Revert it. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* | | Fixup PATH breakage in emc plug-inBryn M. Reeves2013-04-161-59/+59
|/ / | | | | | | | | | | | | | | The automated changes to remove absolute paths went a bit awry with odd paths in /opt and other locations. Fix these up in the emc plug-in. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* | Merge pull request #108 from ivoks/patch-1Bryn M. Reeves2013-04-101-1/+16
|\ \ | | | | | | Add basic cinder data to the plugin
| * | Add basic cinder data to the pluginivoks2013-03-281-1/+16
| | | | | | | | | Pull in /etc/cinder, cinder version and logs for cinder.
* | | Merge pull request #118 from battlemidget/unittest-fixes-1Bryn M. Reeves2013-04-1028-53/+92
|\ \ \ | | | | | | | | Fix unittests and more pep8 conforming
| * | | More pep8 naming updatesAdam Stokes2013-04-085-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>