From a53991f7c3987ae42135dfdd1530acd772b0bf3f Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Fri, 18 Oct 2024 22:49:31 +0100 Subject: [PATCH] [juju] Add juju commands from juju agents Related: SET-623 Signed-off-by: Arif Ali --- sos/report/plugins/juju.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sos/report/plugins/juju.py b/sos/report/plugins/juju.py index 8a194df615..bee19577ef 100644 --- a/sos/report/plugins/juju.py +++ b/sos/report/plugins/juju.py @@ -29,6 +29,19 @@ def setup(self): self.add_journal(service) self.add_service_status(service) + self.add_cmd_output([ + 'juju_engine_report', + 'juju_goroutines', + 'juju_heap_profile', + 'juju_leases', + 'juju_metrics', + 'juju_pubsub_report', + 'juju_presence_report', + 'juju_statepool_report', + 'juju_statetracker_report', + 'juju_unit_status', + ]) + # Get agent configs for each agent. self.add_copy_spec("/var/lib/juju/agents/*/agent.conf")