aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Yarwood <lyarwood@redhat.com>2015-03-30 10:35:21 +0100
committerBryn M. Reeves <bmr@redhat.com>2015-04-08 11:26:36 +0100
commit92ef7ed8f2966a21481aeb715a13e88f4cbbf59c (patch)
treefc5ad67e2d93a732a9971b565e8f4ac86e3c761b
parentd3ea1d0a4e176d84434e0de6d4cccbce59c811f6 (diff)
downloadsos-92ef7ed8f2966a21481aeb715a13e88f4cbbf59c.tar.gz
[rabbitmq] Add list_policies output for the default virtual host.
Useful for ensuring that highly available queues are enabled [1]. [1] https://www.rabbitmq.com/ha.html Resolves #541. Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
-rw-r--r--sos/plugins/rabbitmq.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/rabbitmq.py b/sos/plugins/rabbitmq.py
index 3e81d665..d5f1917b 100644
--- a/sos/plugins/rabbitmq.py
+++ b/sos/plugins/rabbitmq.py
@@ -26,6 +26,7 @@ class RabbitMQ(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_cmd_output("rabbitmqctl report")
self.add_cmd_output("rabbitmqctl cluster_status")
+ self.add_cmd_output("rabbitmqctl list_policies")
self.add_copy_spec("/etc/rabbitmq/*")
self.add_copy_spec_limit("/var/log/rabbitmq/*",