def METHOD_NAME(self):
    # get mongo DB host and port from line like:
    # seeds: host1:27017,host2:27017
    # take just the very first URI and ignore possible failover
    # if no such config is present, default to localhost:27017
    # further, take optional user credentials - here we assume the
    # credentials dont contain a whitespace character (that would
    # make the parsing more difficult)
    #
    # further, collect location of CA file for contacting qpid in section
    # [messaging]
    # certfile: /etc/pki/katello/qpid_client_striped.crt
    self.dbhost = "localhost"
    self.dbport = "27017"
    self.dbuser = ""
    self.dbpassword = ""
    self.messaging_cert_file = ""
    in_messaging_section = False
    try:
        for line in open("/etc/pulp/server.conf").read().splitlines():
            if match(r"^\s*seeds:\s+\S+:\S+", line):
                uri = line.split()[1].split(',')[0].split(':')
                self.dbhost = uri[0]
                self.dbport = uri[1]
            if match(r"\s*username:\s+\S+", line):
                self.dbuser = "-u %s" % line.split()[1]
            if match(r"\s*password:\s+\S+", line):
                self.dbpassword = "-p %s" % line.split()[1]
            if line.startswith("[messaging]"):
                in_messaging_section = True
            if in_messaging_section and line.startswith("certfile:"):
                self.messaging_cert_file = line.split()[1]
                in_messaging_section = False
    except IOError:
        # fallback when the cfg file is not accessible
        pass
    self.add_file_tags({
        '/etc/default/pulp_workers': 'pulp_worker_defaults'
    })
    self.add_copy_spec([
        "/etc/pulp/*.conf",
        "/etc/pulp/settings.py",
        "/etc/pulp/server/plugins.conf.d/",
        "/etc/default/pulp*",
        "/var/log/httpd/pulp-http.log*",
        "/var/log/httpd/pulp-https.log*",
        "/var/log/httpd/pulp-http_access_ssl.log*",
        "/var/log/httpd/pulp-https_access_ssl.log*",
        "/var/log/httpd/pulp-http_error_ssl.log*",
        "/var/log/httpd/pulp-https_error_ssl.log*"
    ])
    num_tasks = self.get_option('tasks')
    mtasks = self.build_mongo_cmd(
        '\"DBQuery.shellBatchSize=%s;; '
        'db.task_status.find().sort({finish_time: -1})'
        '.pretty().shellPrint()\"' % num_tasks
    )
    mres = self.build_mongo_cmd(
        '\"DBQuery.shellBatchSize=%s;; '
        'db.reserved_resources.find().pretty().shellPrint()\"' % num_tasks
    )
    prun = self.build_mongo_cmd(
        r'"DBQuery.shellBatchSize=%s;; '
        r'db.task_status.find({state:{\$ne: \"finished\"}}).pretty()'
        r'.shellPrint()"' % num_tasks
    )
    # prints mongo collection sizes sorted from biggest and in human
    # readable output
    csizes = self.build_mongo_cmd(
        '\"function humanReadable(bytes) {'
        '  var i = -1;'
        '  var byteUnits = [\'kB\', \'MB\', \'GB\', \'TB\', \'PB\', '
        '                   \'EB\', \'ZB\', \'YB\'];'
        '  do {'
        '      bytes = bytes / 1024;'
        '      i++;'
        '  } while (bytes > 1024);'
        '  return Math.max(bytes, 0.1).toFixed(1) + \' \' + byteUnits[i];'
        '};'
        'var collectionNames = db.getCollectionNames(), stats = [];'
        'collectionNames.forEach(function (n) {'
        '                          stats.push(db[n].stats());'
        '                        });'
        'stats = stats.sort(function(a, b) {'
        '                     return b[\'size\'] - a[\'size\']; });'
        'for (var c in stats) {'
        '  print(stats[c][\'ns\'] + \': \' +'
        '        humanReadable(stats[c][\'size\']) + \' (\' +'
        '        humanReadable(stats[c][\'storageSize\']) + \')\'); }\"'
    )
    dbstats = self.build_mongo_cmd('\"db.stats()\"')
    self.add_cmd_output(mtasks, suggest_filename="mongo-task_status")
    self.add_cmd_output(mres, suggest_filename="mongo-reserved_resources")
    self.add_cmd_output(prun, suggest_filename="pulp-running_tasks")
    self.add_cmd_output(csizes, suggest_filename="mongo-collection_sizes")
    self.add_cmd_output(dbstats, suggest_filename="mongo-db_stats")
    for opt in "quc":
        self.add_cmd_output(
            f"qpid-stat -{opt} --ssl-certificate="
            f"{self.messaging_cert_file} -b amqps://localhost:5671",
            tags=f"qpid_stat_{opt}")
    self.add_cmd_output(
        "sudo -u pulp PULP_SETTINGS='/etc/pulp/settings.py' "
        "DJANGO_SETTINGS_MODULE='pulpcore.app.settings' dynaconf list",
        suggest_filename="dynaconf_list"
    )