'Fetch the data from hddtemp daemon.'

def fetch(self):

    try:
        sck = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        sck.connect((self.host, self.port))
        data = sck.recv(4096)
    except socket.error as e:
        logger.debug('Cannot    connect    to    an    HDDtemp    server    ({}:{}    =>    {})'.format(self.host, self.port, e))
        logger.debug('Disable    the    HDDtemp    module.    Use    the    --disable-hddtemp    to    hide    the    previous    message.')
        if (self.args is not None):
            self.args.disable_hddtemp = True
        data = ''
    finally:
        sck.close()
    return data
