aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/mongodb.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/sos/plugins/mongodb.py b/sos/plugins/mongodb.py
index 5cb327dc..8cb77d7d 100644
--- a/sos/plugins/mongodb.py
+++ b/sos/plugins/mongodb.py
@@ -52,8 +52,20 @@ class MongoDb(Plugin, DebianPlugin, UbuntuPlugin):
class RedHatMongoDb(MongoDb, RedHatPlugin):
+ packages = (
+ 'mongodb-server',
+ 'rh-mongodb32-mongodb-server',
+ 'rh-mongodb34-mongodb-server',
+ 'rh-mongodb36-mongodb-server'
+ )
+
def setup(self):
super(RedHatMongoDb, self).setup()
- self.add_copy_spec("/etc/sysconfig/mongodb")
+ self.add_copy_spec([
+ "/etc/sysconfig/mongodb",
+ "/etc/rh-mongodb*-mongo*.conf",
+ "/etc/opt/rh/rh-mongodb*/mongo*.conf",
+ "/var/opt/rh/rh-mongodb*/log/mongodb/mongod.log"
+ ])
# vim: set et ts=4 sw=4 :