'Start the munin thread if one is not running'

def _startMuninThread(self, hostname):

    if (not getattr(self.settings, 'enableMunin', True)):
        return
    try:
        self.serverUniqueHostsLock.acquire()
        if (hostname not in self.serverUniqueHosts):
            self.serverUniqueHosts[hostname] = munin.MuninThread(hostname, self)
            self.serverUniqueHosts[hostname].setName(('MuninThread-' + hostname))
            self.serverUniqueHosts[hostname].start()
    finally:
        self.serverUniqueHostsLock.release()
