diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-03-05 15:40:27 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-03-05 15:40:27 +0000 |
commit | 6e5167036839d5ce0c143b2edae6c6670a31f0f8 (patch) | |
tree | e764a9f166d8c4a0db36d2c122e94f73c188ddc3 | |
parent | 9dfd1b2700392054fc9757215ffc4899b829a8db (diff) | |
download | sos-6e5167036839d5ce0c143b2edae6c6670a31f0f8.tar.gz |
- mrg plugin
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@793 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r-- | sos/plugins/qpidd.py | 21 |
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") |