#NEWLINE# def getMetricPath( self ) : #NEWLINE# #INDENT# '\n            Returns the metric path after the collector name\n            servers.host.cpu.total.idle\n            return "total.idle"\n        ' #NEWLINE# if ( self . host is None ) : #NEWLINE# #INDENT# path = self . path . split ( '.' ) [ 3 : ] #NEWLINE# return '.' . join ( self ) #NEWLINE# #UNINDENT# prefix = '.' . join ( [ self . getPathPrefix ( ) , self . host , self . getCollectorPath ( ) ] ) #NEWLINE# offset = ( len ( prefix ) + 1 ) #NEWLINE# return self . path [ offset : ]