Bug 461799 - Addition of Directory Server sos plugins
Summary: Addition of Directory Server sos plugins
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos
Version: 5.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Adam Stokes
QA Contact:
URL:
Whiteboard:
Depends On: 461298
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-10 17:23 UTC by kent lamb
Modified: 2009-09-02 07:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 07:30:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1418 0 normal SHIPPED_LIVE sos bug fix and enhancement update 2009-09-02 07:29:42 UTC

Comment 1 Adam Stokes 2009-01-13 15:06:05 UTC
Can you test this plugin out for both ds7 and 8:

class ds(sos.plugintools.PluginBase):
    """Directory Server information
    """

    ds_version = None

    def checkenabled(self):
        if self.cInfo["policy"].pkgByName("redhat-ds-base") or os.path.exists("/etc/dirsrv"):
            self.ds_version = "ds8"
            return True
        elif self.cInfo["policy"].pkgByName("redhat-ds-7") or os.path.exists("/opt/redhat-ds"):
            self.ds_version = "ds7"
            return True
        return False

    def setup(self):
        if "ds8" in self.ds_version:
            self.addCopySpec("/etc/dirsrv/slapd*")
            self.addCopySpec("/var/log/dirsrv/*")
        if "ds7" in self.ds_version:
            self.addCopySpec("/opt/redhat-ds/slapd-*/config")
            self.addCopySpec("/opt/redhat-ds/slapd-*/logs")
        return

Comment 3 Adam Stokes 2009-01-21 23:54:43 UTC
Test the ds and cs plugins in the upstream version :

http://astokes.fedorapeople.org/sos-1.8-9.noarch.rpm

They'll be backported to RHEL if works for you.

Thanks,
Adam

Comment 4 kent lamb 2009-01-27 14:35:35 UTC
worksforme

Comment 11 errata-xmlrpc 2009-09-02 07:30:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1418.html


Note You need to log in before you can comment on or make changes to this bug.