def __init__(self, config=Config): BaseLoggingObj.__init__(self, config) TarInstaller.__init__(self) self.downloadPath = Config.softServer + Config.soft_java self.downloadSavePath = Config.softSavePath + "/" + Config.soft_maven self.installPath = Config.softInstallPath self.logging.info("add JavaInstaller module!")
def __init__(self): BaseLoggingObj.__init__(self) self.bichondao = BichonDao() try: self.initAllServer() except Exception, e: self.logging.error("brokers init false!")
def __init__(self, config=Config): self.name = "bichon broker server" self.version = Config.version self.agents = {} self.exportList = [] self.errorAgents = [] self.logging.info("broker start over ......") BaseLoggingObj.__init__(self, config)
def __init__(self, config=MySqlConfig): BaseLoggingObj.__init__(self) self.hostName = config.hostName self.name = config.name self.db = config.db self.password = config.password self.charset = config.charset
def __init__(self, proxy, host, config=Config): BaseLoggingObj.__init__(self, config) self.target = proxy self.command = {} self.host = host self.isError = False self.export = {} self.__init()
def __init__(self): BaseLoggingObj.__init__(self) self.cpu = CpuModule() self.disk = DiskModule() self.mem = MemModule() self.net = NetModule() self.ec = ExecModule() self.check = CheckModule() self.process = ProcessModule() self.file = FileModule() self.agent = RPCThreading(("0.0.0.0", Config.agent_port)) self.registerCpu() self.registerDisk() self.registerExec() self.registerMem() self.registerNet() self.registerProcess() self.registerCheck() self.registerFile() self.logging.info("客户端程序启动。。。") self.agent.serve_forever()
def __init__(self): BaseLoggingObj.__init__(self) self.logging.info("DiskModule added")
def __init__(self, config=Config): BaseLoggingObj.__init__(self, config=config) self.logging.info("add InstallHooker module!") self.config = config self.module = {}
def __init__(self): BaseLoggingObj.__init__(self) self.logging.info("CpuModule added !")
def __init__(self, config=Config): BaseLoggingObj.__init__(self, config=config) self.moduleMap = {}
def __init__(self, config=Config): BaseLoggingObj.__init__(self, config=config) AbsBroker.__init__(self, config=config)
def __init__(self, config=Config): BaseLoggingObj.__init__(self, config=config) self.logging.info("Environment check start")
def __init__(self, config=Config): BaseLoggingObj.__init__(self, config) TarInstaller.__init__(self, ) self.name = "jdk1.8.64.tar.gz"
def __init__(self, config=Config): BaseLoggingObj.__init__(self, config) YumInstaller.__init__(self)
def __init__(self): BaseLoggingObj.__init__(self) self.logging.info("create ServiceModule !")
def __init__(self, config=Config): BaseLoggingObj.__init__(self, config=config) self.logging.info("init DefaultAgent from file %s", __file__)
def __init__(self): BaseLoggingObj.__init__(self) self.logging.info("create MemModule !")
def __init__(self, config=Config): self.muScanner = ModuleScanner(config) self.listArray = [] BaseLoggingObj.__init__(self, config=config) AbsAgent.__init__(self, config=config)
def __init__(self, config=Config): BaseLoggingObj.__init__(self, config=config) AbsBacker.__init__(self)
def __init__(self): BaseLoggingObj.__init__(self) self.logging.info("create NetModule")
def __init__(self): BaseLoggingObj.__init__(self) self.sqlHelp = SqlHelper() self.logging.info("构建BichonDao")