aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/maas.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/sos/plugins/maas.py b/sos/plugins/maas.py
index 1d4c5ace..6ec1adf4 100644
--- a/sos/plugins/maas.py
+++ b/sos/plugins/maas.py
@@ -19,6 +19,16 @@ class Maas(Plugin, UbuntuPlugin):
profiles = ('sysmgmt',)
packages = ('maas', 'maas-common')
+ services = (
+ 'maas-dhcpd',
+ 'maas-dhcpd6',
+ 'maas-http',
+ 'maas-proxy',
+ 'maas-rackd',
+ 'maas-regiond',
+ 'maas-syslog'
+ )
+
option_list = [
('profile-name',
'The name with which you will later refer to this remote', '', ''),
@@ -56,6 +66,11 @@ class Maas(Plugin, UbuntuPlugin):
"apt-cache policy python-django-*",
])
+ self.add_service_status(self.services)
+
+ for service in self.services:
+ self.add_journal(units=service)
+
if self.is_installed("maas-region-controller"):
self.add_cmd_output([
"maas-region-admin dumpdata",