aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2015-11-20 14:19:15 +0100
committerBryn M. Reeves <bmr@redhat.com>2015-12-18 17:16:07 +0000
commit43dd41e4f0872e3a9258cd0a0a9d13e3b76a3e1c (patch)
tree875269a736a03e5d6d504589d3e8f4c53a9806a5
parent146bdc43b6bc0485516979c8197ee4bafeb64b8d (diff)
downloadsos-43dd41e4f0872e3a9258cd0a0a9d13e3b76a3e1c.tar.gz
[apache] collect list of modules
Collect output of "apachectl -M" for that Resolves: #691 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/apache.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/plugins/apache.py b/sos/plugins/apache.py
index 4872f7bf..f7133026 100644
--- a/sos/plugins/apache.py
+++ b/sos/plugins/apache.py
@@ -25,6 +25,10 @@ class Apache(Plugin):
("log", "gathers all apache logs", "slow", False)
]
+ def setup(self):
+ # collect list of installed modules
+ self.add_cmd_output(["apachectl -M"])
+
class RedHatApache(Apache, RedHatPlugin):
files = ('/etc/httpd/conf/httpd.conf',