aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-02-19 09:22:16 -0500
committerBryn M. Reeves <bmr@redhat.com>2019-03-21 10:17:28 +0000
commit0db185009db0721ac41aec29b153d1bcb767df4b (patch)
treebd00e02126b6e6b5c9eca34676c28d6b3ed63fe4
parente1ef9928307636ce3e7b98d7dbebfe4c9574f752 (diff)
downloadsos-0db185009db0721ac41aec29b153d1bcb767df4b.tar.gz
[apache] Collect config summary via apachectl -S
Adds collection of apachectl -S for quick config summary data Resolves: #1572 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/apache.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/apache.py b/sos/plugins/apache.py
index be27b224..2c6776bc 100644
--- a/sos/plugins/apache.py
+++ b/sos/plugins/apache.py
@@ -23,7 +23,10 @@ class Apache(Plugin):
def setup(self):
# collect list of installed modules
- self.add_cmd_output(["apachectl -M"])
+ self.add_cmd_output([
+ "apachectl -M",
+ "apachectl -S"
+ ])
class RedHatApache(Apache, RedHatPlugin):