1
0
forked from rpms/sos
sos/sos-bz726360-qpidd-extend.patch
Bryn M. Reeves 13178ca5fa Update sos to 2.2-29
This synchronises sos in master to the current upstream sos-2.2 branch and
includes all patches from RHEL6 not already present.
2012-06-22 12:16:21 +01:00

53 lines
2.6 KiB
Diff

diff -up sos-2.2/sos/plugins/qpidd.py.orig sos-2.2/sos/plugins/qpidd.py
--- sos-2.2/sos/plugins/qpidd.py.orig 2011-08-13 12:00:24.054712827 +0100
+++ sos-2.2/sos/plugins/qpidd.py 2011-08-13 12:00:26.419712889 +0100
@@ -19,25 +19,36 @@ class qpidd(sos.plugintools.PluginBase):
"""
def checkenabled(self):
""" checks if mrg enabled """
- if self.cInfo["policy"].pkgByName("qpidd") and \
- self.cInfo["policy"].pkgByName("python-qpid"):
+ if self.cInfo["policy"].pkgByName("qpid-cpp-server") and \
+ self.cInfo["policy"].pkgByName("qpid-tools"):
return True
return False
def setup(self):
""" performs data collection for mrg """
self.addCopySpec("/etc/qpidd.conf")
- self.collectExtOutput("/usr/bin/qpid-stat -q")
+ self.addCopySpec("/etc/sasl2/qpidd.conf")
+ self.addCopySpec("/etc/qpid/qpidc.conf")
+ self.addCopySpec("/etc/sesame/sesame.conf")
+ self.addCopySpec("/etc/cumin/cumin.conf")
+ self.addCopySpec("/etc/corosync/corosync.conf")
+ self.addCopySpec("/var/lib/sesame")
+ self.addCopySpec("/var/log/qpidd.log")
+ self.addCopySpec("/var/log/sesame")
+ self.addCopySpec("/var/log/cumin")
+ self.addCopySpec("/var/log/cluster")
+
+ self.collectExtOutput("/usr/bin/qpid-config queues")
+ self.collectExtOutput("/usr/bin/qpid-config exchanges")
+ self.collectExtOutput("/usr/bin/qpid-config exchanges -b")
+ self.collectExtOutput("/usr/bin/qpid-stat -b")
self.collectExtOutput("/usr/bin/qpid-stat -e")
- self.collectExtOutput("/usr/bin/qpid-stat -b")
- self.addCopySpec("/var/lib/qpid/syslog")
- self.collectExtOutput("/usr/bin/qpid-config")
- self.collectExtOutput("/usr/bin/qpid-config -b exchanges")
- self.collectExtOutput("/usr/bin/qpid-config -b queues")
+ self.collectExtOutput("/usr/bin/qpid-stat -q")
+ self.collectExtOutput("/usr/bin/qpid-stat -u")
self.collectExtOutput("/usr/bin/qpid-stat -c")
- self.collectExtOutput("/usr/bin/qpid-route link list")
self.collectExtOutput("/usr/bin/qpid-route route list")
- self.addCopySpec("/etc/ais/openais.conf")
+ self.collectExtOutput("/usr/bin/qpid-route link list")
+ self.collectExtOutput("/usr/bin/qpid-cluster")
+ self.collectExtOutput("/usr/bin/qpid-cluster -c")
self.collectExtOutput("ls -lR /var/lib/qpidd")
- self.addCopySpec("/var/log/cumin.log")
- self.addCopySpec("/var/log/mint.log")
+ self.collectExtOutput("ls -lR /opt/rh-qpid")