aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/haproxy.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/sos/plugins/haproxy.py b/sos/plugins/haproxy.py
index 48c03b1c..f2975a5a 100644
--- a/sos/plugins/haproxy.py
+++ b/sos/plugins/haproxy.py
@@ -13,10 +13,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-from sos.plugins import Plugin, RedHatPlugin
+from sos.plugins import Plugin, RedHatPlugin, DebianPlugin
-class HAProxy(Plugin, RedHatPlugin):
+class HAProxy(Plugin, RedHatPlugin, DebianPlugin):
"""HAProxy load balancer
"""
@@ -29,4 +29,6 @@ class HAProxy(Plugin, RedHatPlugin):
self.add_copy_spec("/etc/haproxy/haproxy.cfg")
self.add_cmd_output("haproxy -f /etc/haproxy/haproxy.cfg -c")
+ self.add_copy_spec("/var/log/haproxy.log")
+
# vim: et ts=4 sw=4