aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/qpidd.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/sos/plugins/qpidd.py b/sos/plugins/qpidd.py
new file mode 100644
index 00000000..b878e99d
--- /dev/null
+++ b/sos/plugins/qpidd.py
@@ -0,0 +1,21 @@
+import sos.plugintools
+import commands
+import glob
+import os
+from os.path import exists
+
+
+class qpidd(sos.plugintools.PluginBase):
+ """Messaging related information
+ """
+ def checkenabled(self):
+ if self.cInfo["policy"].pkgByName("qpidd"):
+ return True
+ return False
+
+ def setup(self):
+ self.addCopySpec("/etc/qpidd.conf")
+ self.collectExtOutput("/usr/bin/qpid-stat -q")
+ self.collectExtOutput("/usr/bin/qpid-stat -e")
+ self.collectExtOutput("/usr/bin/qpid-stat -b")
+ self.addCopySpec("/var/lib/qpid/syslog")