def METHOD_NAME(self):
    self._is_snap = self._is_snap_installed()
    if self._is_snap:
        self.add_cmd_output([
            'snap info maas',
            'maas status'
        ])
        if self.is_service("snap.maas.pebble"):
            # Because `snap.maas.pebble` is not in the services
            # tuple to prevent timeouts caused by log collection,
            # service status and logs are collected here.
            self.add_service_status("snap.maas.pebble")
            since = self.get_option("since") or "-1days"
            self.add_journal(units="snap.maas.pebble", since=since)
        # Don't send secrets
        self.add_forbidden_path("/var/snap/maas/current/bind/session.key")
        self.add_copy_spec([
            "/var/snap/maas/common/log",
            "/var/snap/maas/common/snap_mode",
            "/var/snap/maas/current/*.conf",
            "/var/snap/maas/current/bind",
            "/var/snap/maas/current/http",
            "/var/snap/maas/current/supervisord",
            "/var/snap/maas/current/preseeds",
            "/var/snap/maas/current/proxy",
            "/var/snap/maas/current/rsyslog",
        ])
    else:
        self.add_copy_spec([
            "/etc/squid-deb-proxy",
            "/etc/maas",
            "/var/lib/maas/dhcp*",
            "/var/lib/maas/http/*.conf",
            "/var/lib/maas/*.conf",
            "/var/lib/maas/rsyslog",
            "/var/log/maas*",
            "/var/log/upstart/maas-*",
        ])
        self.add_cmd_output([
            "apt-cache policy maas-*",
            "apt-cache policy python-django-*",
        ])
    if self.is_installed("maas-region-controller"):
        self.add_cmd_output([
            "maas-region dumpdata",
        ])
    if self._has_login_options():
        if self._remote_api_login():
            self.add_cmd_output("maas %s commissioning-results list" %
                                self.get_option("profile-name"))
        else:
            self._log_error(
                "Cannot login into MAAS remote API with provided creds.")