diff options
-rw-r--r-- | sos/report/plugins/collectd.py | 7 | ||||
-rw-r--r-- | sos/report/plugins/openstack_aodh.py | 13 | ||||
-rw-r--r-- | sos/report/plugins/openstack_ceilometer.py | 4 |
3 files changed, 20 insertions, 4 deletions
diff --git a/sos/report/plugins/collectd.py b/sos/report/plugins/collectd.py index 8584adf9..818f1568 100644 --- a/sos/report/plugins/collectd.py +++ b/sos/report/plugins/collectd.py @@ -21,14 +21,17 @@ class Collectd(Plugin, IndependentPlugin): # or being inside Super Proviledged Container that does not have # the package but logs to the host's logfile packages = ('collectd',) - files = ('/var/log/containers/collectd/collectd.log',) + files = ('/var/log/containers/collectd/collectd.log', + '/var/log/collectd/collectd.log') def setup(self): self.add_copy_spec([ '/etc/collectd.conf', '/etc/collectd.d/*.conf', '/var/log/containers/collectd/collectd.log', - '/var/lib/config-data/collectd', + '/var/lib/config-data/puppet-generated/collectd/etc/collectd.conf', + '/var/lib/config-data/puppet-generated/collectd/etc/collectd.d/' + + '*.conf', ]) p = re.compile('^LoadPlugin.*') diff --git a/sos/report/plugins/openstack_aodh.py b/sos/report/plugins/openstack_aodh.py index 45442002..087a74db 100644 --- a/sos/report/plugins/openstack_aodh.py +++ b/sos/report/plugins/openstack_aodh.py @@ -102,4 +102,17 @@ class RedHatOpenStackAodh(OpenStackAodh, RedHatPlugin): packages = ('openstack-selinux',) + def setup(self): + super(RedHatOpenStackAodh, self).setup() + if self.get_option("all_logs"): + self.add_copy_spec([ + "/var/log/containers/httpd/aodh-api/*", + "/var/log/containers/aodh/*" + ]) + else: + self.add_copy_spec([ + "/var/log/containers/httpd/aodh-api/*.log", + "/var/log/containers/aodh/*.log" + ]) + # vim: set et ts=4 sw=4 : diff --git a/sos/report/plugins/openstack_ceilometer.py b/sos/report/plugins/openstack_ceilometer.py index cbedeadd..c66a427f 100644 --- a/sos/report/plugins/openstack_ceilometer.py +++ b/sos/report/plugins/openstack_ceilometer.py @@ -86,11 +86,11 @@ class RedHatCeilometer(OpenStackCeilometer, RedHatPlugin): super(RedHatCeilometer, self).setup() if self.get_option("all_logs"): self.add_copy_spec([ - "/var/log/httpd/ceilometer*", + "/var/log/containers/ceilometer/*", ]) else: self.add_copy_spec([ - "/var/log/httpd/ceilometer*.log", + "/var/log/containers/ceilometer/*.log", ]) # vim: set et ts=4 sw=4 : |