code: def getCollectorPath(self):
          
          # If we don't have a host name, assume it's just the third part of the
          # metric path
          if self.host is None:
              return self.path.split('.')[2]
  
          offset = self.path.index(self.host)
          offset += len(self.host) + 1
          endoffset = self.path.index('.', offset)
          return self.path[offset:endoffset]
docs: Returns collector path
              servers.host.cpu.total.idle
              return "cpu"