예제 #1
0
 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!")
예제 #2
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.bichondao = BichonDao()
     try:
         self.initAllServer()
     except Exception, e:
         self.logging.error("brokers init false!")
예제 #3
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.bichondao = BichonDao()
     try:
         self.initAllServer()
     except Exception, e:
         self.logging.error("brokers init false!")
예제 #4
0
 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)
예제 #5
0
 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)
예제 #6
0
    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
예제 #7
0
 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()
예제 #8
0
 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()
예제 #9
0
 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()
예제 #10
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("DiskModule added")
예제 #11
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.logging.info("add InstallHooker module!")
     self.config = config
     self.module = {}
예제 #12
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("CpuModule added !")
예제 #13
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.moduleMap = {}
예제 #14
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     AbsBroker.__init__(self, config=config)
예제 #15
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.logging.info("Environment check start")
예제 #16
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.moduleMap = {}
예제 #17
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     TarInstaller.__init__(self, )
     self.name = "jdk1.8.64.tar.gz"
예제 #18
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     YumInstaller.__init__(self)
예제 #19
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("DiskModule added")
예제 #20
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("create ServiceModule !")
예제 #21
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.logging.info("init DefaultAgent from file %s", __file__)
예제 #22
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     YumInstaller.__init__(self)
예제 #23
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("create MemModule !")
예제 #24
0
 def __init__(self, config=Config):
     self.muScanner = ModuleScanner(config)
     self.listArray = []
     BaseLoggingObj.__init__(self, config=config)
     AbsAgent.__init__(self, config=config)
예제 #25
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     AbsBacker.__init__(self)
예제 #26
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("create NetModule")
예제 #27
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.sqlHelp = SqlHelper()
     self.logging.info("构建BichonDao")
예제 #28
0
 def __init__(self, config=Config):
     self.muScanner = ModuleScanner(config)
     self.listArray = []
     BaseLoggingObj.__init__(self, config=config)
     AbsAgent.__init__(self, config=config)
예제 #29
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     TarInstaller.__init__(self, )
     self.name = "jdk1.8.64.tar.gz"