code: def _get_stats(self):
          
          try:
              output = subprocess.check_output(['ceph', '-s'])
          except subprocess.CalledProcessError as err:
              self.log.info(
                  'Could not get stats: %s' % err)
              self.log.exception('Could not get stats')
              return {}
          return process_ceph_status(output)
docs: Get ceph stats