def _get(self):
    http = urllib3.PoolManager()
    resp = http.request('GET', 'http://localhost:{}/'.format(self.server_port))
    if (resp.status != 200):
        raise Exception('Monitor Requests server error: {}.'.format(resp.status))
    return json.loads(resp.data)
def _get(self):
    http = urllib3.PoolManager()
    resp = http.request('GET', 'http://localhost:{}/'.format(self.server_port))
    if (resp.status != 200):
        raise Exception('Monitor Requests server error: {}.'.format(resp.status))
    return json.loads(resp.data)