def METHOD_NAME(self):
    meta = {}
    if self.mesos_agent_url:
        try:
            resp = requests.get(self.mesos_agent_url, timeout=1).json()
            if "version" in resp:
                meta['mesos_version'] = resp.get("version")
        except Exception as ex:
            self.log.debug("Error getting Mesos version: %s" % str(ex))
    if self.dcos_agent_url:
        try:
            resp = requests.get(self.dcos_agent_url, timeout=1).json()
            if "dcos_version" in resp:
                meta['dcos_version'] = resp.get("dcos_version")
        except Exception as ex:
            self.log.debug("Error getting DCOS version: %s" % str(ex))
    return meta