From 43dd41e4f0872e3a9258cd0a0a9d13e3b76a3e1c Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Fri, 20 Nov 2015 14:19:15 +0100 Subject: [apache] collect list of modules Collect output of "apachectl -M" for that Resolves: #691 Signed-off-by: Pavel Moravec --- sos/plugins/apache.py | 4 ++++ 1 file changed, 4 insertions(+) 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', -- cgit