def __init__(self):
        super(MuninGearmanPlugin, self).__init__()
        addr = os.environ.get('GM_SERVER') or "127.0.0.1"
        port = int(addr.split(':')[-1]) if ':' in addr else 4730
        host = addr.split(':')[0]
        self.addr = (host, port)
        self._sock = None
dataset/ETHPy150Open samuel/python-munin/munin/gearman.py/MuninGearmanPlugin.__init__/original