aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/report/plugins/haproxy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/report/plugins/haproxy.py b/sos/report/plugins/haproxy.py
index a4c57967..1b3a26d2 100644
--- a/sos/report/plugins/haproxy.py
+++ b/sos/report/plugins/haproxy.py
@@ -38,6 +38,9 @@ class HAProxy(Plugin, RedHatPlugin, DebianPlugin):
self.add_copy_spec("/var/log/haproxy.log")
+ self.add_service_status('haproxy')
+ self.add_journal(units='haproxy')
+
# collect haproxy overview - curl to IP address taken from haproxy.cfg
# as 2nd word on line below "haproxy.stats"
# so parse haproxy.cfg until "haproxy.stats" read, and take 2nd word