def METHOD_NAME():
    try:
        result = {}
        #waitForDocker()
        #need to exec twice
        osutil.rj_os_system(["bcmcmd", "-t", "1", "show temp"])
        ret, log = osutil.rj_os_system(["bcmcmd", "-t", "1", "show temp"])
        if ret:
            return False, result
        else:
            logs = log.splitlines()
            for line in logs:
                if "average" in line:
                    b = re.findall(r'\d+.\d+', line)
                    result["average"] = b[0]
                elif "maximum" in line:
                    b = re.findall(r'\d+.\d+', line)
                    result["maximum"] = b[0]
    except Exception as e:
        return False, str(e)
    return True, result