From 6eb6e17e368b62d667d90639227950844e954c70 Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Mon, 7 Dec 2015 18:35:04 +0100 Subject: [haproxy] Collect /etc/haproxy/conf.d/* Some openstack installations split out the configuration files via an "include conf.d/*.cfg" directive. Add the whole directory in order to collect that as well. Fixes: #674. Signed-off-by: Michele Baldessari --- sos/plugins/haproxy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sos/plugins/haproxy.py b/sos/plugins/haproxy.py index ba398838..717cf649 100644 --- a/sos/plugins/haproxy.py +++ b/sos/plugins/haproxy.py @@ -27,6 +27,7 @@ class HAProxy(Plugin, RedHatPlugin, DebianPlugin): def setup(self): self.add_copy_spec("/etc/haproxy/haproxy.cfg") + self.add_copy_spec("/etc/haproxy/conf.d/*") self.add_cmd_output("haproxy -f /etc/haproxy/haproxy.cfg -c") self.add_copy_spec("/var/log/haproxy.log") -- cgit