sos/sos-rabbitmq-cluster-status.patch
Bryn M. Reeves 89b86368f8 Update spec file for sos-3.2-1
Update sos in rawhide to the upstream 3.2 release and additional
patches including the fix for CVE-2015-7529.
2015-12-16 15:53:30 +00:00

29 lines
976 B
Diff

From 786f74a79f6baec716be8c8a05da90b5c63848d0 Mon Sep 17 00:00:00 2001
From: Jorge Niedbalski <niedbalski@gmail.com>
Date: Fri, 14 Nov 2014 11:43:31 -0300
Subject: [PATCH] [plugins/rabbitmq] Added cluster_status command output
* Added the 'rabbitmqctl cluster_status' output command
Signed-off-by: Jorge Niedbalski R. <niedbalski@gmail.com>
---
sos/plugins/rabbitmq.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sos/plugins/rabbitmq.py b/sos/plugins/rabbitmq.py
index ee09fa3..3e81d66 100644
--- a/sos/plugins/rabbitmq.py
+++ b/sos/plugins/rabbitmq.py
@@ -25,6 +25,8 @@ class RabbitMQ(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_cmd_output("rabbitmqctl report")
+ self.add_cmd_output("rabbitmqctl cluster_status")
+
self.add_copy_spec("/etc/rabbitmq/*")
self.add_copy_spec_limit("/var/log/rabbitmq/*",
sizelimit=self.get_option('log_size'))
--
1.8.3.1