'Get stats from Glances server.
Return the client/server connection status:
- Connected: Connection OK
- Disconnected: Connection NOK'

def update_glances(self):

    try:
        server_stats = json.loads(self.client.getAll())
    except socket.error:
        return 'Disconnected'
    except Fault:
        return 'Disconnected'
    else:
        self.stats.update(server_stats)
        return 'Connected'
