def __init__(self, pidfile, logfile, testmode=False, snmpHost='localhost', snmpPort=161, snmpAgentName='ooici', snmpCommunityName='ooicinet', rpcHost='localhost', rpcPort=9010): """ Creates the RPC server """ Daemon.__init__(self, pidfile, logfile) self.hostreader = HostReader(snmpHost, snmpPort, snmpAgentName, snmpCommunityName) self.rpcPort = rpcPort self.rpcHost = rpcHost logging.debug('host_status_daemon intialized')