code: def __discovery_url(self):
          
          port = self.sensor.options.agent_port
          if port == 0:
              port = AGENT_DEFAULT_PORT
  
          return "http://%s:%s/%s" % (self.host, port, AGENT_DISCOVERY_PATH)
docs: URL for announcing to the host agent