diff options
-rw-r--r-- | sos/plugins/mongodb.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/mongodb.py b/sos/plugins/mongodb.py index d8d8e5ff..56d04e4e 100644 --- a/sos/plugins/mongodb.py +++ b/sos/plugins/mongodb.py @@ -32,9 +32,10 @@ class MongoDb(Plugin, DebianPlugin, UbuntuPlugin): self.var_puppet_gen + "/etc/", self.var_puppet_gen + "/etc/systemd/system/mongod.service.d/", "/var/log/mongodb/mongodb.log", - "/var/log/containers/mongodb/mongodb.log" + "/var/log/containers/mongodb/mongodb.log", + "/var/lib/mongodb/mongodb.log*" ]) - self.add_cmd_output("du -s /var/lib/mongodb/") + self.add_cmd_output("du -sh /var/lib/mongodb/") def postproc(self): self.do_file_sub( |