(self)
return process_ceph_status(output)
Get ceph stats
Get ceph stats
Get ceph stats
def _get_stats(self):
        """
        Get ceph stats
        """
        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)
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 )