diff options
author | Jorge Niedbalski <niedbalski@gmail.com> | 2014-11-14 11:43:31 -0300 |
---|---|---|
committer | Jorge Niedbalski <niedbalski@gmail.com> | 2014-11-14 11:43:31 -0300 |
commit | 786f74a79f6baec716be8c8a05da90b5c63848d0 (patch) | |
tree | 6547df56199ca4a2a7cd9e1f0e4fc921fdab506b | |
parent | 8a56b5c6679c0e4ff8679e7cf466fc4d644c8c42 (diff) | |
download | sos-786f74a79f6baec716be8c8a05da90b5c63848d0.tar.gz |
[plugins/rabbitmq] Added cluster_status command output
* Added the 'rabbitmqctl cluster_status' output command
Signed-off-by: Jorge Niedbalski R. <niedbalski@gmail.com>
-rw-r--r-- | sos/plugins/rabbitmq.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/rabbitmq.py b/sos/plugins/rabbitmq.py index ee09fa3d..3e81d665 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')) |